Skip to content

Commit

Permalink
Ensure user is invited to portals on update
Browse files Browse the repository at this point in the history
because if a user ever leaves a portal, there is no obvious way for them
to rejoin it.
  • Loading branch information
AndrewFerr committed Nov 23, 2023
1 parent 8f3f50e commit 468f655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ func (user *User) incomingMessageHandler(incomingMessage signalmeow.IncomingSign
}

// ensure everyone is invited to the group
portal.ensureUserInvited(user)
_ = ensureGroupPuppetsAreJoinedToPortal(context.Background(), user, portal)
} else {
if portal.shouldSetDMRoomMetadata() {
Expand Down

0 comments on commit 468f655

Please sign in to comment.