You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue a /sync request, either without a since parameter or with a since parameter from before the user left the room
The expected result is that the sync response will contain a timeline field for the left room that either has all events between since and the point where the user left the room, or has "limited": true and all events between timeline.prev_batch and the point where the user left the room. The current result is that the timeline field is missing entirely.
Notes
There's an associated TODO comment in the code here.
If we set limited: true instead, then this would technically be a spec-compliant response, however this ruma bug means that the timeline field will be omitted from the response anyway.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
/sync
request, either without asince
parameter or with asince
parameter from before the user left the roomThe expected result is that the sync response will contain a
timeline
field for the left room that either has all events betweensince
and the point where the user left the room, or has"limited": true
and all events betweentimeline.prev_batch
and the point where the user left the room. The current result is that thetimeline
field 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: true
instead, then this would technically be a spec-compliant response, however this ruma bug means that thetimeline
field will be omitted from the response anyway.The text was updated successfully, but these errors were encountered: