mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -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
|
@ -68,7 +68,7 @@ class SQLBaseStore(object):
|
|||
if decoder:
|
||||
return decoder(cursor)
|
||||
else:
|
||||
return cursor
|
||||
return cursor.fetchall()
|
||||
|
||||
return self._db_pool.runInteraction(interaction)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue