mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Fix up RoomMemberStore to work with the new schema.
This commit is contained in:
parent
6d6a1c3454
commit
937c175029
3 changed files with 80 additions and 98 deletions
|
@ -64,7 +64,11 @@ class SQLBaseStore(object):
|
|||
|
||||
def interaction(txn):
|
||||
cursor = txn.execute(query, args)
|
||||
return decoder(cursor)
|
||||
if decoder:
|
||||
return decoder(cursor)
|
||||
else:
|
||||
return cursor
|
||||
|
||||
return self._db_pool.runInteraction(interaction)
|
||||
|
||||
def _execut_query(self, query, *args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue