synapse/synapse/types
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
..
handlers Sliding sync: omit bump stamp when it is unchanged (#17788) 2024-10-08 11:17:23 +01:00
rest import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
storage Sliding Sync: Reset forgotten status when membership changes (like rejoining a room) (#17835) 2024-10-22 11:06:46 +01:00
__init__.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
state.py Correctly changes to required state config in sliding sync (#17785) 2024-10-14 13:31:22 +01:00