MSC4492: Clarify that pagination tokens are directionless#4492
Open
clokep wants to merge 8 commits into
Open
Conversation
turt2live
reviewed
Jun 16, 2026
Member
There was a problem hiding this comment.
Implementation not required: the MSC is effectively already implemented.
richvdh
reviewed
Jun 17, 2026
Comment on lines
+32
to
+33
| Pagination tokens produced by `/messages`, `/relations`, `/context`, and `/search`'s | ||
| `context` field represent a position in the event stream and MUST be indistinguishable. |
Member
There was a problem hiding this comment.
Is the omission of /sync deliberate here? Are you trying to draw a distinction between the room-scoped tokens and the globally-scoped next_batch from /sync? It could maybe do with a little clarification.
Member
Author
There was a problem hiding this comment.
next_batch isn't room scoped, right? So it isn't indistinguishable. Although it should include: "prev_batch response field of /sync", I think.
Member
Author
There was a problem hiding this comment.
I ended up combining this paragraph and the one after it since they seem repetitive. Hopefully that's clear.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rendered