dendrite/roomserver/internal
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
..
helpers Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
input Fix fetching missing state (#2163) 2022-02-10 10:05:14 +00:00
perform PerformInvite: bugfix and rejig control flow (#2137) 2022-02-02 13:30:48 +00:00
query Fix fetching missing state (#2163) 2022-02-10 10:05:14 +00:00
alias.go Various alias fixes (#1934) 2021-07-21 16:53:50 +01:00
api.go Use pull consumers (#2140) 2022-02-02 13:32:48 +00:00