Skip to content

Commit

Permalink
🐛 Filter destination rooms in admin API
Browse files Browse the repository at this point in the history
No filtering existed on the rooms that were returned. We were returning
all rooms, but still showing the counter as accurate.
  • Loading branch information
MisguidedEmails committed Feb 1, 2024
1 parent 6e714a6 commit 08d4da9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/storage/databases/main/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ def get_destination_rooms_paginate_txn(
start=start,
limit=limit,
retcols=("room_id", "stream_ordering"),
keyvalues={"destination": destination},
order_direction=order,
),
)
Expand Down

0 comments on commit 08d4da9

Please sign in to comment.