Reimplement the get public rooms api to work with new DB schema

This commit is contained in:
Erik Johnston 2014-08-15 10:26:35 +01:00
parent 2c46bb6208
commit 5002efa31b
7 changed files with 100 additions and 36 deletions

View file

@ -68,7 +68,7 @@ class SQLBaseStore(object):
if decoder:
return decoder(cursor)
else:
return cursor
return cursor.fetchall()
return self._db_pool.runInteraction(interaction)