summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 476dcf38e2..6f7dd45ef3 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -655,7 +655,9 @@ class SyncHandler(object):
         user_id = sync_result_builder.sync_config.user.to_string()
 
         now_token, ephemeral_by_room = yield self.ephemeral_by_room(
-            sync_result_builder.sync_config, sync_result_builder.now_token
+            sync_result_builder.sync_config,
+            now_token=sync_result_builder.now_token,
+            since_token=sync_result_builder.since_token,
         )
         sync_result_builder.now_token = now_token