synapse/tests/rest/client/sliding_sync
Eric Eastwood a5e16a4ab5
Sliding Sync: Reset forgotten status when membership changes (like rejoining a room) (#17835)
Reset `sliding_sync_membership_snapshots` -> `forgotten` status when
membership changes (like rejoining a room).

Fix https://github.com/element-hq/synapse/issues/17781

### What was the problem before?

Previously, if someone used `/forget` on one of their rooms, it would
update `sliding_sync_membership_snapshots` as expected but when someone
rejoined the room (or had any membership change), the upsert didn't
overwrite and reset the `forgotten` status so it remained `forgotten`
and invisible down the Sliding Sync endpoint.
2024-10-22 11:06:46 +01:00
..
__init__.py Sliding Sync: Split and move tests (#17504) 2024-07-31 12:20:46 -05:00
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: Reset forgotten status when membership changes (like rejoining a room) (#17835) 2024-10-22 11:06:46 +01:00