mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Filter remote rooms lists locally
This commit is contained in:
parent
74d4cdee25
commit
e58a9d781c
2 changed files with 25 additions and 11 deletions
|
@ -376,7 +376,7 @@ class EventFederationStore(SQLBaseStore):
|
|||
INNER JOIN (
|
||||
SELECT room_id, MAX(stream_ordering) AS stream_ordering
|
||||
FROM stream_ordering_to_exterm
|
||||
WHERE stream_ordering < ? GROUP BY room_id
|
||||
WHERE stream_ordering <= ? GROUP BY room_id
|
||||
) AS rms USING (room_id, stream_ordering)
|
||||
WHERE room_id = ?
|
||||
""")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue