summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2024-07-17 14:07:21 +0100
committerErik Johnston <erik@matrix.org>2024-07-17 14:07:21 +0100
commit7ecba3c684ee24a933df8618124bd3b74b9e563b (patch)
tree0692c31e672e91349013dfb36aa55941cd5c08fe /synapse/handlers
parentMerge branch 'erikj/ss_room_store' into erikj/ss_hacks (diff)
downloadsynapse-7ecba3c684ee24a933df8618124bd3b74b9e563b.tar.xz
Fixup
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sliding_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py
index 6f2988e64c..c22a184efa 100644
--- a/synapse/handlers/sliding_sync.py
+++ b/synapse/handlers/sliding_sync.py
@@ -690,7 +690,7 @@ class SlidingSyncHandler:
         room_for_user_list = (
             await self.store.get_rooms_for_local_user_where_membership_is(
                 user_id=user_id,
-                membership_list=Membership.LIST,
+                membership_list=frozenset(Membership.LIST),
                 excluded_rooms=self.rooms_to_exclude_globally,
             )
         )