0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 11:43:51 +01:00
synapse/tests/rest/client/sliding_sync
Erik Johnston d025b5ab50
Correctly changes to required state config in sliding sync (#17785)
Fixes https://github.com/element-hq/synapse/issues/17698

This handles `required_state` changes by checking if new state has been
added to the config, and if so fetching and returning that from the
current state.

This also takes care to ensure that given a state entry S that is added,
removed and then re-added that we do *not* send S down a second time if
there have been no changes to S in the current state. This is fine for
Rust SDK (as it just remembers all state), but we might decide not to do
this behaviour in the MSC. If we decide to always send down S then its
easy enough to rip out all the code.

---------

Co-authored-by: Eric Eastwood <eric.eastwood@beta.gouv.fr>
2024-10-14 13:31:22 +01:00
..
__init__.py
test_connection_tracking.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_account_data.py Sliding sync: Add connection tracking to the account_data extension (#17695) 2024-09-19 19:51:51 +01:00
test_extension_e2ee.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_receipts.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_to_device.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extension_typing.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_extensions.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_lists_filters.py Sliding Sync: No need to sort if the range is large enough to cover all of the rooms (#17731) 2024-09-19 09:33:34 +01:00
test_room_subscriptions.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_rooms_invites.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_rooms_meta.py Sliding sync: omit bump stamp when it is unchanged (#17788) 2024-10-08 11:17:23 +01:00
test_rooms_required_state.py Correctly changes to required state config in sliding sync (#17785) 2024-10-14 13:31:22 +01:00
test_rooms_timeline.py Sliding Sync: Retrieve fewer events from DB in sync (#17688) 2024-09-10 09:52:42 +01:00
test_sliding_sync.py Sliding Sync: Avoid fetching left rooms and add back newly_left rooms (#17725) 2024-09-19 10:07:18 -05:00