summary refs log tree commit diff
path: root/synapse/handlers/initial_sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-07-10 16:24:02 +0100
committerErik Johnston <erik@matrix.org>2024-07-10 16:24:02 +0100
commitaca8ed23503792cf3acef68c4b38e854b078e200 (patch)
treeb8f79175b18a3bf065cd69c7dd631c82283d5494 /synapse/handlers/initial_sync.py
parenttracing (diff)
downloadsynapse-aca8ed23503792cf3acef68c4b38e854b078e200.tar.xz
FIXUP
Diffstat (limited to 'synapse/handlers/initial_sync.py')
-rw-r--r--synapse/handlers/initial_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py
index bd3c87f5f4..7ab4f2b67d 100644
--- a/synapse/handlers/initial_sync.py
+++ b/synapse/handlers/initial_sync.py
@@ -135,7 +135,7 @@ class InitialSyncHandler:
             memberships.append(Membership.LEAVE)
 
         room_list = await self.store.get_rooms_for_local_user_where_membership_is(
-            user_id=user_id, membership_list=memberships
+            user_id=user_id, membership_list=frozenset(memberships)
         )
 
         user = UserID.from_string(user_id)