From 055dc16d4942752938fedb1a9d526accd5e8715d Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 23 May 2022 09:40:36 +0100 Subject: Fix sending receipts --- synapse/storage/databases/main/roommember.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1