mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-27 18:20:50 -04:00
Merge pull request #5531 from matrix-org/erikj/workers_pagination_token
Fix /messages on workers when no from param specified.
This commit is contained in:
commit
25433f212d
3 changed files with 20 additions and 17 deletions
|
@ -180,9 +180,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue