mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 19:44:13 -04:00
Add a description to storage layer's _execute_and_decode()
This commit is contained in:
parent
cdb2e045ee
commit
099e4b88d8
5 changed files with 9 additions and 6 deletions
|
@ -450,7 +450,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
else:
|
||||
args = (room_id, )
|
||||
|
||||
results = yield self._execute_and_decode(sql, *args)
|
||||
results = yield self._execute_and_decode("get_current_state", sql, *args)
|
||||
|
||||
events = yield self._parse_events(results)
|
||||
defer.returnValue(events)
|
||||
|
@ -475,7 +475,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
sql += " OR s.type = 'm.room.aliases')"
|
||||
args = (room_id,)
|
||||
|
||||
results = yield self._execute_and_decode(sql, *args)
|
||||
results = yield self._execute_and_decode("get_current_state", sql, *args)
|
||||
|
||||
events = yield self._parse_events(results)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue