mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:44:49 -04:00
Reimplement the get public rooms api to work with new DB schema
This commit is contained in:
parent
2c46bb6208
commit
5002efa31b
7 changed files with 100 additions and 36 deletions
|
@ -790,5 +790,5 @@ class RoomListHandler(BaseHandler):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def get_public_room_list(self):
|
||||
chunk = yield self.store.get_rooms(is_public=True, with_topics=True)
|
||||
chunk = yield self.store.get_rooms(is_public=True)
|
||||
defer.returnValue({"start": "START", "end": "END", "chunk": chunk})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue