-
- Downloads
Add Sliding Sync `/sync/e2ee` endpoint for To-Device messages (#17167)
This is being introduced as part of Sliding Sync but doesn't have any sliding window component. It's just a way to get E2EE events without having to sit through a big initial sync (`/sync` v2). And we can avoid encryption events being backed up by the main sync response or vice-versa. Part of some Sliding Sync simplification/experimentation. See [this discussion](https://github.com/element-hq/synapse/pull/17167#discussion_r1610495866) for why it may not be as useful as we thought. Based on: - https://github.com/matrix-org/matrix-spec-proposals/pull/3575 - https://github.com/matrix-org/matrix-spec-proposals/pull/3885 - https://github.com/matrix-org/matrix-spec-proposals/pull/3884
Showing
- changelog.d/17167.feature 1 addition, 0 deletionschangelog.d/17167.feature
- synapse/config/experimental.py 3 additions, 0 deletionssynapse/config/experimental.py
- synapse/handlers/sync.py 237 additions, 10 deletionssynapse/handlers/sync.py
- synapse/rest/client/sync.py 171 additions, 0 deletionssynapse/rest/client/sync.py
- tests/rest/client/test_devices.py 2 additions, 142 deletionstests/rest/client/test_devices.py
- tests/rest/client/test_sendtodevice.py 58 additions, 13 deletionstests/rest/client/test_sendtodevice.py
- tests/rest/client/test_sync.py 389 additions, 10 deletionstests/rest/client/test_sync.py
Loading
Please register or sign in to comment