diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-28 17:29:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-28 17:29:24 +0000 |
commit | 03b2c2577cbf51c80a42319689e1cb4903b8c4af (patch) | |
tree | cebafafbc8d5b2f10c8faab284983869d73c5575 | |
parent | Include cache hits with has_entity_changed (diff) | |
download | synapse-03b2c2577cbf51c80a42319689e1cb4903b8c4af.tar.xz |
Don't use defer.returnValue
-rw-r--r-- | synapse/storage/account_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py index 62e49e1c0e..88404059e8 100644 --- a/synapse/storage/account_data.py +++ b/synapse/storage/account_data.py @@ -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 |