diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-04-29 15:53:22 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-04-29 15:53:22 +0100 |
commit | 677e0c721ca17f008bc77af98b286aeed40d54aa (patch) | |
tree | fac41577e99b18adb0c3a6430f20ac47c8964ac9 /synapse/handlers | |
parent | Disable m.id_access_token, m.require_identity_server, m.separate_add_and_bind... (diff) | |
download | synapse-677e0c721ca17f008bc77af98b286aeed40d54aa.tar.xz |
Ensure non-federated rooms are not shown for POST /publicRooms
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room_list.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py index 0b7d3da680..4469d51c52 100644 --- a/synapse/handlers/room_list.py +++ b/synapse/handlers/room_list.py @@ -89,7 +89,11 @@ class RoomListHandler(BaseHandler): logger.info("Bypassing cache as search request.") return self._get_public_room_list( - limit, since_token, search_filter, network_tuple=network_tuple + limit, + since_token, + search_filter, + network_tuple=network_tuple, + from_federation=from_federation, ) key = (limit, since_token, network_tuple) |