Skip to content

Commit

Permalink
feat: backfill direct messages without double-puppeting
Browse files Browse the repository at this point in the history
  • Loading branch information
leytilera committed Feb 29, 2024
1 parent 805d847 commit 074745a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -1097,10 +1097,6 @@ func (portal *Portal) getMessageIntent(user *User, info *types.MessageInfo, msgT
return nil
}
intent := puppet.IntentFor(portal)
if !intent.IsCustomPuppet && portal.IsPrivateChat() && info.Sender.User == portal.Key.Receiver.User && portal.Key.Receiver != portal.Key.JID {
portal.log.Debugfln("Not handling %s (%s): user doesn't have double puppeting enabled", info.ID, msgType)
return nil
}
return intent
}

Expand Down

0 comments on commit 074745a

Please sign in to comment.