dendrite/roomserver/internal/input
Neil Alexander fc1d8e479b
Ensure that all state event IDs are included in the added section when rewriting state (#2725)
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
..
input_events.go
input_latest_events.go Ensure that all state event IDs are included in the added section when rewriting state (#2725) 2022-09-16 10:35:32 +01:00
input_membership.go
input_missing.go
input_test.go
input.go