mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 21:22:02 +00:00
Don't use defer.returnValue
This commit is contained in:
parent
0663c5bd52
commit
03b2c2577c
@ -132,7 +132,7 @@ class AccountDataStore(SQLBaseStore):
|
|||||||
user_id, int(stream_id)
|
user_id, int(stream_id)
|
||||||
)
|
)
|
||||||
if not changed:
|
if not changed:
|
||||||
defer.returnValue(({}, {}))
|
return ({}, {})
|
||||||
|
|
||||||
return self.runInteraction(
|
return self.runInteraction(
|
||||||
"get_updated_account_data_for_user", get_updated_account_data_for_user_txn
|
"get_updated_account_data_for_user", get_updated_account_data_for_user_txn
|
||||||
|
Loading…
Reference in New Issue
Block a user