summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/streams/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index 4018dbde56..4d44c3d4ca 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -73,7 +73,7 @@ class EventSources(object):
 
         token = StreamToken(
             room_key=(
-                yield self.sources["room"].get_current_key()
+                yield self.sources["room"].get_current_key_for_room(room_id)
             ),
             presence_key=(
                 yield self.sources["presence"].get_current_key()