summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index b1bfdce85b..f63c073a20 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -520,11 +520,11 @@ class SyncHandler(BaseHandler):
         # this users current read receipt. This could almost certainly be
         # optimised.
         _, all_ephemeral_by_room = yield self.ephemeral_by_room(
-            sync_config, now_token
+            sync_config, now_token, room_ids
         )
 
         now_token, ephemeral_by_room = yield self.ephemeral_by_room(
-            sync_config, now_token, since_token
+            sync_config, now_token, room_ids, since_token
         )
 
         rm_handler = self.hs.get_handlers().room_member_handler