mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 03:46:09 -05:00
Convert streams to async. (#8014)
This commit is contained in:
parent
916cf2d439
commit
e19de43eb5
10 changed files with 27 additions and 30 deletions
|
|
@ -340,7 +340,7 @@ class SearchHandler(BaseHandler):
|
|||
# If client has asked for "context" for each event (i.e. some surrounding
|
||||
# events and state), fetch that
|
||||
if event_context is not None:
|
||||
now_token = await self.hs.get_event_sources().get_current_token()
|
||||
now_token = self.hs.get_event_sources().get_current_token()
|
||||
|
||||
contexts = {}
|
||||
for event in allowed_events:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue