Prevent showing non-fed rooms in fed /publicRooms

This commit is contained in:
Andrew Morgan 2019-02-22 12:11:43 +00:00
parent 907e6da5be
commit 7a4632af9c
3 changed files with 54 additions and 17 deletions

View file

@ -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))