diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-02 15:20:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-02 15:20:36 +0100 |
commit | 4c4f44930d2153056dc1b992c571f43f2d360d07 (patch) | |
tree | ae6de31d3ff4e1321f5468ad42f507c17a4de4e3 /synapse/storage/room.py | |
parent | Newsfile (diff) | |
download | synapse-4c4f44930d2153056dc1b992c571f43f2d360d07.tar.xz |
Fix not showing non-federatable rooms to remote room list queries
Diffstat (limited to 'synapse/storage/room.py')
-rw-r--r-- | synapse/storage/room.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py index 9b7e31583c..615c0d3f65 100644 --- a/synapse/storage/room.py +++ b/synapse/storage/room.py @@ -174,6 +174,9 @@ class RoomWorkerStore(SQLBaseStore): query_args += [last_joined_members, last_joined_members, last_room_id] + if ignore_non_federatable: + where_clauses.append("is_federatable") + if search_filter and search_filter.get("generic_search_term", None): search_term = "%" + search_filter["generic_search_term"] + "%" |