mirror of
https://mau.dev/maunium/synapse.git
synced 2025-03-05 06:20:14 +01: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)
|
||||
)
|
||||
if not changed:
|
||||
defer.returnValue(({}, {}))
|
||||
return ({}, {})
|
||||
|
||||
return self.runInteraction(
|
||||
"get_updated_account_data_for_user", get_updated_account_data_for_user_txn
|
||||
|
|
Loading…
Add table
Reference in a new issue