mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-26 13:35:18 -04:00
Handle the case of remote users leaving a partial join room for device lists (#13885)
This commit is contained in:
parent
85e161631a
commit
e8318a4333
7 changed files with 86 additions and 108 deletions
|
@ -1202,6 +1202,12 @@ class PersistEventsStore:
|
|||
txn, room_id, members_changed
|
||||
)
|
||||
|
||||
# Check if any of the remote membership changes requires us to
|
||||
# unsubscribe from their device lists.
|
||||
self.store.handle_potentially_left_users_txn(
|
||||
txn, {m for m in members_changed if not self.hs.is_mine_id(m)}
|
||||
)
|
||||
|
||||
def _upsert_room_version_txn(self, txn: LoggingTransaction, room_id: str) -> None:
|
||||
"""Update the room version in the database based off current state
|
||||
events.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue