mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Don't set new state NID if state regression
This commit is contained in:
parent
a846dad0e1
commit
78f6e1a31e
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ func (u *latestEventsUpdater) latestState() error {
|
||||||
)
|
)
|
||||||
u.added = u.added[:0]
|
u.added = u.added[:0]
|
||||||
u.removed = u.removed[:0]
|
u.removed = u.removed[:0]
|
||||||
|
u.newStateNID = u.oldStateNID
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue