mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 23:42:14 -04:00
Update the pagination parameter name based on MSC2946 review. (#10579)
This commit is contained in:
parent
915b37e5ef
commit
98a3355d9a
3 changed files with 11 additions and 10 deletions
|
@ -412,10 +412,10 @@ class SpaceSummaryHandler:
|
|||
|
||||
# If there's additional data, generate a pagination token (and persist state).
|
||||
if room_queue:
|
||||
next_token = random_string(24)
|
||||
result["next_token"] = next_token
|
||||
next_batch = random_string(24)
|
||||
result["next_batch"] = next_batch
|
||||
pagination_key = _PaginationKey(
|
||||
requested_room_id, suggested_only, max_depth, next_token
|
||||
requested_room_id, suggested_only, max_depth, next_batch
|
||||
)
|
||||
self._pagination_sessions[pagination_key] = _PaginationSession(
|
||||
self._clock.time_msec(), room_queue, processed_rooms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue