mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-24 04:34:45 -04:00
Don't use defer.returnValue
This commit is contained in:
parent
0663c5bd52
commit
03b2c2577c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue