diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 12:23:36 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-13 12:23:36 +0000 |
commit | bb298f378cae3140b2fcccb319d9748106ed3f6e (patch) | |
tree | 861a4d14dbd9ae3c86eb3d5573b258a10d011868 /synapse/handlers/pagination.py | |
parent | Merge pull request #5516 from matrix-org/rav/acme_key_path (diff) | |
parent | Merge pull request #5531 from matrix-org/erikj/workers_pagination_token (diff) | |
download | synapse-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.py | 4 |
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 |