summary refs log tree commit diff
path: root/synapse/handlers/account_data.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-10 11:13:15 +0000
committerErik Johnston <erik@matrix.org>2019-12-10 14:40:15 +0000
commit257ef2c727abbb289c460b930e8bac18ab80e053 (patch)
tree641bc2cc6b2c5244c0acf730486562e08a0042cd /synapse/handlers/account_data.py
parentPort handlers.account_data to async/await. (diff)
downloadsynapse-257ef2c727abbb289c460b930e8bac18ab80e053.tar.xz
Port handlers.account_validity to async/await.
Diffstat (limited to 'synapse/handlers/account_data.py')
-rw-r--r--synapse/handlers/account_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/account_data.py b/synapse/handlers/account_data.py
index fe44d62a1c..20ec1ca01b 100644
--- a/synapse/handlers/account_data.py
+++ b/synapse/handlers/account_data.py
@@ -25,7 +25,7 @@ class AccountDataEventSource(object):
         user_id = user.to_string()
         last_stream_id = from_key
 
-        current_stream_id = await self.store.get_max_account_data_stream_id()
+        current_stream_id = self.store.get_max_account_data_stream_id()
 
         results = []
         tags = await self.store.get_updated_tags(user_id, last_stream_id)