element-hq / element-hq/synapse
/sync gives bad prev_batch token for unlimited timelines (SYN-645)
Open
A-Sync
S-Minor
T-Defect
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#1509](https://github.com/matrix-org/synapse/issues/1509).
---
Submitted by @richvdh:matrix.org
For an initial `/sync`, if a room's timeline is small enough to fit into the limit, we get a `prev_batch` which corresponds to the **end** of the timeline rather than the start. This is exacerbating https://github.com/vector-im/vector-web/issues/1089.
(Imported from https://matrix.org/jira/browse/SYN-645)
Contributor guide
Assessment
This issue has not been assessed yet.