This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
/messages
endpoint returns end
token identical to from
token
#12102
Labels
A-Spec-Compliance
places where synapse does not conform to the spec
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
Goal is to fetch messages in a room backwards.
Steps to reproduce
/sync
to get the latestnext_batch
token{ from: $next_batch, direction: "b", .. }
.end
field that's the same as thenext_batch
token that was used in the initial request, additionally to all room messages.So it seems there's an issue with synapse not leaving the
end
token empty if it reaches the end of the timeline.For reference, here's the raw response from synapse, where
start
andend
are identical.Version information
If not matrix.org:
Version: 1.53.0
Install method: docker hub
The text was updated successfully, but these errors were encountered: