diff options
author | Eric Eastwood <eric.eastwood@beta.gouv.fr> | 2024-10-22 05:06:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 11:06:46 +0100 |
commit | a5e16a4ab5a7db41b6dc978da1d833c39874813f (patch) | |
tree | bdf9db4ced3327312b2dd9a95f8d95cae75401c6 /tests/util/test_async_helpers.py | |
parent | Ensure Python 3.13 and PostgreSQL 17 compatibility (#17752) (diff) | |
download | synapse-a5e16a4ab5a7db41b6dc978da1d833c39874813f.tar.xz |
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.
Diffstat (limited to 'tests/util/test_async_helpers.py')
0 files changed, 0 insertions, 0 deletions