Bug: sync always omits timeline for left rooms #332
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#332
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce:
/syncrequest, either without asinceparameter or with asinceparameter from before the user left the roomThe expected result is that the sync response will contain a
timelinefield for the left room that either has all events betweensinceand the point where the user left the room, or has"limited": trueand all events betweentimeline.prev_batchand the point where the user left the room. The current result is that thetimelinefield is missing entirely.Notes
There's an associated TODO comment in the code here.
The code currently does this for left rooms:
If we set
limited: trueinstead, then this would technically be a spec-compliant response, however this ruma bug means that thetimelinefield will be omitted from the response anyway.Looks like this was fixed in upstream ruma. we should probably take a look at some point too
Fixed by !1132.