forked from MirrorHub/mautrix-whatsapp
feat: backfill direct messages without double-puppeting
This commit is contained in:
parent
805d84776a
commit
074745a3b5
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue