mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-30 10:13:09 -06:00
The state snapshot for any given event in the roomserver represents the state _before_ the event. For the create event, this is nothing, so the state snapshot nid should be 0. In some cases this wasn't happening, resulting in a nice mix of possible options including: - A state snapshot without any state blocks `[]` or `null`. - A state snapshot with a single state block with a single event, the create event, causing a circular loop. This is incorrect as it represents the state before the event, not after. |
||
|---|---|---|
| .. | ||
| 20201028212440_add_forgotten_column.go | ||
| 2021041615092700_state_blocks_refactor.go | ||