dendrite/roomserver/storage/shared
Neil Alexander 2782ae3d56
Fix fetching missing state (#2163)
* Check that we have a populated state snapshot when determining if we closed the gap

* Do the same in the query API

* Use HasState more opportunistically

* Try to avoid falling down the hole of using a trustworthy but empty state snapshot for non-create events

* Refactor missing state and make sure that we really solve the problem for the new event

* Comments

* Review comments

* Tweak that check again

* Tidy up that create check further

* Fix build hopefully

* Update sendOutliers to use OrderAuthAndStateEvents

* Don't go out of bounds on missingEvents
2022-02-10 10:05:14 +00:00
..
membership_updater.go Fix transaction issues in events table in PSQL (#2165) 2022-02-10 09:30:16 +00:00
prepare.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
room_updater.go Fix fetching missing state (#2163) 2022-02-10 10:05:14 +00:00
storage.go Fix fetching missing state (#2163) 2022-02-10 10:05:14 +00:00