Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Apply debug current token where timeou=0 or full_state=true
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Oct 4, 2022
1 parent 4537741 commit a93a8b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion synapse/handlers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,10 @@ async def _wait_for_sync_for_user(
# we are going to return immediately, so don't bother calling
# notifier.wait_for_events.
result: SyncResult = await self.current_sync_for_user(
sync_config, since_token, full_state=full_state
sync_config,
since_token,
full_state=full_state,
debug_current_token=debug_current_token,
)
else:
# Otherwise, we wait for something to happen and report it to the user.
Expand Down

0 comments on commit a93a8b3

Please sign in to comment.