diff --git a/portal.go b/portal.go index a515f8d..aef59bb 100644 --- a/portal.go +++ b/portal.go @@ -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 {