mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-05 09:24:16 -04:00
Port handlers.account_validity to async/await.
This commit is contained in:
parent
353396e3a7
commit
257ef2c727
3 changed files with 42 additions and 49 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue