diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-08-11 15:44:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 15:44:45 -0400 |
commit | 98a3355d9a58538cfbc1c88020e6b6d9bccea516 (patch) | |
tree | 38c932d95a739c2e425ea6c555c565bb41f1fed9 /synapse | |
parent | Admin API to delete media for a specific user (#10558) (diff) | |
download | synapse-98a3355d9a58538cfbc1c88020e6b6d9bccea516.tar.xz |
Update the pagination parameter name based on MSC2946 review. (#10579)
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/space_summary.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/space_summary.py b/synapse/handlers/space_summary.py index 893546e661..d0060f9046 100644 --- a/synapse/handlers/space_summary.py +++ b/synapse/handlers/space_summary.py @@ -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 |