summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-05-21 17:41:10 +0100
committerErik Johnston <erik@matrix.org>2018-05-31 11:27:31 +0100
commitb671e577595215ef78f385c4abfdaa6ab46dc189 (patch)
treecd6f265ff3c2272422d862e3591e0e7ac9a96e78 /synapse/handlers/message.py
parentUse calculated topological ordering when persisting events (diff)
downloadsynapse-b671e577595215ef78f385c4abfdaa6ab46dc189.tar.xz
Implement pagination using chunks
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 81cff0870e..c350c93c7e 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -235,7 +235,7 @@ class MessageHandler(BaseHandler):
                     room_id, max_topo
                 )
 
-            events, next_key = yield self.store.paginate_room_events(
+            events, next_key, extremities = yield self.store.paginate_room_events(
                 room_id=room_id,
                 from_key=source_config.from_key,
                 to_key=source_config.to_key,