Fix up federation PublicRoomList

This commit is contained in:
Erik Johnston 2016-06-08 14:39:31 +01:00
parent 958c968d02
commit d88faf92d1

View file

@ -528,7 +528,7 @@ class PublicRoomList(BaseFederationServlet):
PATH = "/publicRooms"
@defer.inlineCallbacks
def on_GET(self, request):
def on_GET(self, origin, content, query):
data = yield self.room_list_handler.get_local_public_room_list()
defer.returnValue((200, data))