mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix up federation PublicRoomList
This commit is contained in:
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
Block a user