diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-16 10:19:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-16 10:19:32 +0100 |
commit | e58a9d781c7808b66f6eda221c9ce91ccd3cd8d6 (patch) | |
tree | 65acefc3f853ec60df599562e16afe63fd4fdb6c /synapse/storage/event_federation.py | |
parent | Don't cache searched in /publicRooms (diff) | |
download | synapse-e58a9d781c7808b66f6eda221c9ce91ccd3cd8d6.tar.xz |
Filter remote rooms lists locally
Diffstat (limited to 'synapse/storage/event_federation.py')
-rw-r--r-- | synapse/storage/event_federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 765b5a5bcb..53289f556b 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -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 = ? """) |