diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 49be0bf08771..b2a48c6d1077 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -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.