summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-10-24 13:39:49 +0100
committerErik Johnston <erik@matrix.org>2016-10-24 13:39:49 +0100
commitb6800a8ecd33d18d9faa3dfb426b08ff4ebe6f10 (patch)
treed11c5a6dfa49cc0efbb80b4b99ea7767bc2b768c /synapse
parentFix incredubly slow back pagination query (diff)
downloadsynapse-b6800a8ecd33d18d9faa3dfb426b08ff4ebe6f10.tar.xz
Actually use the new function
Diffstat (limited to 'synapse')
-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()