-
- Downloads
Add experimental support for MSC4222 (#17888)
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
Showing
- changelog.d/17888.feature 1 addition, 0 deletionschangelog.d/17888.feature
- docs/admin_api/experimental_features.md 1 addition, 0 deletionsdocs/admin_api/experimental_features.md
- synapse/config/experimental.py 3 additions, 0 deletionssynapse/config/experimental.py
- synapse/handlers/sync.py 122 additions, 6 deletionssynapse/handlers/sync.py
- synapse/rest/admin/experimental_features.py 3 additions, 0 deletionssynapse/rest/admin/experimental_features.py
- synapse/rest/client/sync.py 39 additions, 6 deletionssynapse/rest/client/sync.py
- tests/handlers/test_sync.py 226 additions, 44 deletionstests/handlers/test_sync.py
Loading
Please register or sign in to comment