Skip to content
Snippets Groups Projects
  • Erik Johnston's avatar
    361bdafb
    Add experimental support for MSC4222 (#17888) · 361bdafb
    Erik Johnston authored
    Basically, if the client sets a special query param on `/sync` v2
    instead of responding with `state` at the *start* of the timeline, we
    instead respond with `state_after` at the *end* of the timeline.
    
    We do this by using the `current_state_delta_stream` table, which is
    actually reliable, rather than messing around with "state at" points on
    the timeline.
    
    c.f. MSC4222
    361bdafb
    History
    Add experimental support for MSC4222 (#17888)
    Erik Johnston authored
    Basically, if the client sets a special query param on `/sync` v2
    instead of responding with `state` at the *start* of the timeline, we
    instead respond with `state_after` at the *end* of the timeline.
    
    We do this by using the `current_state_delta_stream` table, which is
    actually reliable, rather than messing around with "state at" points on
    the timeline.
    
    c.f. MSC4222