Fix backfill in private chat portal with self
This commit is contained in:
parent
ffb8529b73
commit
8f805c539a
@ -698,7 +698,7 @@ func (portal *Portal) beginBackfill() func() {
|
||||
portal.backfilling = true
|
||||
var privateChatPuppetInvited bool
|
||||
var privateChatPuppet *Puppet
|
||||
if portal.IsPrivateChat() && portal.bridge.Config.Bridge.InviteOwnPuppetForBackfilling {
|
||||
if portal.IsPrivateChat() && portal.bridge.Config.Bridge.InviteOwnPuppetForBackfilling && portal.Key.JID != portal.Key.Receiver {
|
||||
privateChatPuppet = portal.bridge.GetPuppetByJID(portal.Key.Receiver)
|
||||
portal.privateChatBackfillInvitePuppet = func() {
|
||||
if privateChatPuppetInvited {
|
||||
|
Loading…
Reference in New Issue
Block a user