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)
|
||||
)
|
||||
if not changed:
|
||||
defer.returnValue(({}, {}))
|
||||
return ({}, {})
|
||||
|
||||
return self.runInteraction(
|
||||
"get_updated_account_data_for_user", get_updated_account_data_for_user_txn
|
||||
|
|
Loading…
Reference in New Issue