1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-02-27 05:14:29 -06:00
dendrite/roomserver/internal
Neil Alexander fc1d8e479b
Ensure that all state event IDs are included in the added section when rewriting state ()
This should hopefully fix an entire class of problems where components
downstream from the roomserver (i.e. the sync API) could just lose a
whole bunch of state after a rewrite operation like a federated join.

The root of the bug is that we set `RewritesState` in the output event
which instructs downstream components to purge their copy of any room
state, but then didn't send the entire state snapshot in
`adds_state_event_ids` so the downstream state ends up being incomplete
as a result.
2022-09-16 10:35:32 +01:00
..
helpers Detect types.MissingStateError in CheckServerAllowedToSeeEvent () 2022-08-23 13:57:11 +01:00
input Ensure that all state event IDs are included in the added section when rewriting state () 2022-09-16 10:35:32 +01:00
perform Remove a couple unnecessary Sentry captures from backfill 2022-08-25 11:01:07 +01:00
query Tweak LoadMembershipAtEvent behaviour when state not known () 2022-09-13 12:52:09 +01:00
alias.go Roomserver producers package () 2022-07-01 10:54:07 +01:00
api.go Fix QuerySharedUsers for the SyncAPI keychange consumer () 2022-07-05 14:50:56 +02:00