summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-06-01 15:17:58 +0100
committerGitHub <noreply@github.com>2018-06-01 15:17:58 +0100
commit9eaf69a38697ac84fbcd3783b98d506b1c5b666f (patch)
tree3039821bbd61dec6b970b9a2c7ae531e92609ce2 /synapse/handlers/message.py
parentMerge pull request #3240 from matrix-org/erikj/events_chunks (diff)
parentRemove spurious conditional (diff)
downloadsynapse-9eaf69a38697ac84fbcd3783b98d506b1c5b666f.tar.xz
Merge pull request #3315 from matrix-org/erikj/chunk_pag_1 github/erikj/room_chunks erikj/room_chunks
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,