-
- Downloads
Add `stream_ordering` sort to Sliding Sync `/sync` (#17293)
Sort is no longer configurable and we always sort rooms by the `stream_ordering` of the last event in the room or the point where the user can see up to in cases of leave/ban/invite/knock.
Showing
- changelog.d/17293.feature 1 addition, 0 deletionschangelog.d/17293.feature
- synapse/handlers/message.py 1 addition, 1 deletionsynapse/handlers/message.py
- synapse/handlers/sliding_sync.py 129 additions, 29 deletionssynapse/handlers/sliding_sync.py
- synapse/handlers/sync.py 6 additions, 4 deletionssynapse/handlers/sync.py
- synapse/storage/databases/main/stream.py 36 additions, 6 deletionssynapse/storage/databases/main/stream.py
- synapse/types/rest/client/__init__.py 1 addition, 23 deletionssynapse/types/rest/client/__init__.py
- tests/handlers/test_sliding_sync.py 195 additions, 31 deletionstests/handlers/test_sliding_sync.py
- tests/rest/client/test_sync.py 57 additions, 4 deletionstests/rest/client/test_sync.py
- tests/storage/test_stream.py 33 additions, 23 deletionstests/storage/test_stream.py
Loading
Please register or sign in to comment