mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-25 16:31:13 +02: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…
x
Reference in New Issue
Block a user