summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-04-30 11:38:07 +0100
committerGitHub <noreply@github.com>2020-04-30 11:38:07 +0100
commit9d8ecc9e6c48b9dfc0b41326794b8e10fc6ad062 (patch)
tree78d3da6d352a7a189d39f0208c9bbc6c4968006b /synapse/handlers
parentAdd instance name to RDATA/POSITION commands (#7364) (diff)
downloadsynapse-9d8ecc9e6c48b9dfc0b41326794b8e10fc6ad062.tar.xz
Apply federation check for /publicRooms with filter list (#7367)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_list.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index 59c9906b31..e75dabcd77 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -90,7 +90,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)