diff options
author | Erik Johnston <erik@matrix.org> | 2022-05-23 09:40:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-05-23 09:40:36 +0100 |
commit | 055dc16d4942752938fedb1a9d526accd5e8715d (patch) | |
tree | 8ec0bfc96cd99e435f88c499818f1c4265f263a5 /synapse | |
parent | Log when we get state at sync (diff) | |
download | synapse-github/erikj/push_hack.tar.xz |
Fix sending receipts github/erikj/push_hack erikj/push_hack
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/databases/main/roommember.py | 2 |
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 |