summary refs log tree commit diff
path: root/synapse/storage/databases
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2024-04-26 10:52:24 +0100
committerGitHub <noreply@github.com>2024-04-26 10:52:24 +0100
commit89fc579329d7c81c040b1c178099860e7de37bed (patch)
treea487da3d4ba523ec929b2642630057cd0fdf8d8d /synapse/storage/databases
parentAdd RuntimeDirectory to matrix-synapse.service (#17084) (diff)
downloadsynapse-89fc579329d7c81c040b1c178099860e7de37bed.tar.xz
Fix filtering of rooms when supplying the `destination` query parameter to `/_synapse/admin/v1/federation/destinations/<destination>/rooms` (#17077)
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r--synapse/storage/databases/main/transactions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/transactions.py b/synapse/storage/databases/main/transactions.py
index 08e0241f68..770802483c 100644
--- a/synapse/storage/databases/main/transactions.py
+++ b/synapse/storage/databases/main/transactions.py
@@ -660,6 +660,7 @@ class TransactionWorkerStore(CacheInvalidationWorkerStore):
                     limit=limit,
                     retcols=("room_id", "stream_ordering"),
                     order_direction=order,
+                    keyvalues={"destination": destination},
                 ),
             )
             return rooms, count