Port handlers.account_validity to async/await.

This commit is contained in:
Erik Johnston 2019-12-10 11:13:15 +00:00
parent 353396e3a7
commit 257ef2c727
3 changed files with 42 additions and 49 deletions

View file

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