summary refs log tree commit diff
path: root/synapse/handlers/pagination.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-13 12:23:36 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-13 12:23:36 +0000
commitbb298f378cae3140b2fcccb319d9748106ed3f6e (patch)
tree861a4d14dbd9ae3c86eb3d5573b258a10d011868 /synapse/handlers/pagination.py
parentMerge pull request #5516 from matrix-org/rav/acme_key_path (diff)
parentMerge pull request #5531 from matrix-org/erikj/workers_pagination_token (diff)
downloadsynapse-bb298f378cae3140b2fcccb319d9748106ed3f6e.tar.xz
Merge pull request #5531 from matrix-org/erikj/workers_pagination_token
Diffstat (limited to 'synapse/handlers/pagination.py')
-rw-r--r--synapse/handlers/pagination.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py
index be54084088..2270706999 100644
--- a/synapse/handlers/pagination.py
+++ b/synapse/handlers/pagination.py
@@ -288,9 +288,7 @@ class PaginationHandler(object):
             room_token = pagin_config.from_token.room_key
         else:
             pagin_config.from_token = (
-                yield self.hs.get_event_sources().get_current_token_for_room(
-                    room_id=room_id
-                )
+                yield self.hs.get_event_sources().get_current_token_for_pagination()
             )
             room_token = pagin_config.from_token.room_key