Fix up federation PublicRoomList
parent
958c968d02
commit
d88faf92d1
|
@ -528,7 +528,7 @@ class PublicRoomList(BaseFederationServlet):
|
||||||
PATH = "/publicRooms"
|
PATH = "/publicRooms"
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@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()
|
data = yield self.room_list_handler.get_local_public_room_list()
|
||||||
defer.returnValue((200, data))
|
defer.returnValue((200, data))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue