-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/messages does not provide a way of saying that you cannot paginate further #2251
Comments
Do we really need to invent anything here if |
it's not really a spec-bug imho: it's something we need to agree on and spec. @KitsuneRal: that is one solution, but there are others which would make just as much (or more) sense. It's worth remembering that /messages lets you go both ways so we could do with a solution that works in the other direction too. |
err, yes - it should be an improvement not a bug. I wonder which issue I was trying to label as a bug.... |
According to #1763 (comment) @turt2live thinks that the absence of a |
|
Yes. The same problem occurs when you specify a
That sounds entirely reasonable to me, and would be in line with how pagination is designed in most HTTP APIs. |
not entirely reliable, sadly. Synapse will sometimes return empty chunks if there is a section of timeline you're not allowed to see (eg because you weren't in the room). |
For the record, it looks like matrix-js-sdk currently decides that it's at the end of the timeline if |
This got fixed by #3353. |
To be clear, accepted solution is "you can detected the end of the line by the absence of an I note that this is not the behavior on |
please file an issue against https://github.com/matrix-org/synapse |
We need to define the error code or mechanism to inform the user that they can't back-paginate further via /messages because the server has run out of DAG.
The text was updated successfully, but these errors were encountered: