Don't use defer.returnValue

This commit is contained in:
Erik Johnston 2016-01-28 17:29:24 +00:00
parent 0663c5bd52
commit 03b2c2577c

View File

@ -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