diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-02-22 15:43:11 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-02-25 15:04:46 +0000 |
commit | bd398b874eb375e92939a087a64258a4feb91f49 (patch) | |
tree | 8b92730b60c1b15fc343dc6cab524a25103b2075 /synapse/federation/transport/server.py | |
parent | Config option to prevent showing non-fed rooms in fed /publicRooms (diff) | |
download | synapse-bd398b874eb375e92939a087a64258a4feb91f49.tar.xz |
Don't restrict non-fed rooms over client APIs
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r-- | synapse/federation/transport/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 7288d49074..6d4a26f595 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -697,7 +697,8 @@ class PublicRoomList(BaseFederationServlet): data = yield self.handler.get_local_public_room_list( limit, since_token, - network_tuple=network_tuple + network_tuple=network_tuple, + from_federation=True, ) defer.returnValue((200, data)) |