summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-05-23 09:40:36 +0100
committerErik Johnston <erik@matrix.org>2022-05-23 09:40:36 +0100
commit055dc16d4942752938fedb1a9d526accd5e8715d (patch)
tree8ec0bfc96cd99e435f88c499818f1c4265f263a5 /synapse
parentLog when we get state at sync (diff)
downloadsynapse-github/erikj/push_hack.tar.xz
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/databases/main/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/roommember.py b/synapse/storage/databases/main/roommember.py
index 0eca59235b..425e37c4d0 100644
--- a/synapse/storage/databases/main/roommember.py
+++ b/synapse/storage/databases/main/roommember.py
@@ -904,7 +904,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
                     AND room_id = ?
             """
             txn.execute(sql, (room_id,))
-            return set(txn)
+            return {d for d, in txn}
 
         return await self.db_pool.runInteraction(
             "get_current_hosts_in_room", get_current_hosts_in_room_txn