mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-06 13:43:09 -06:00
Fix bug
This commit is contained in:
parent
a1c5c1b997
commit
1a39c20a35
|
|
@ -240,7 +240,7 @@ func (u *latestEventsUpdater) latestState() error {
|
|||
util.Unique(combinedExtremities)
|
||||
latestStateAtEvents := make([]types.StateAtEvent, len(combinedExtremities))
|
||||
for i := range combinedExtremities {
|
||||
latestStateAtEvents[i] = u.latest[i].StateAtEvent
|
||||
latestStateAtEvents[i] = combinedExtremities[i].StateAtEvent
|
||||
}
|
||||
|
||||
// Takes the NIDs of the latest events and creates a state snapshot
|
||||
|
|
|
|||
Loading…
Reference in a new issue