Don't set new state NID if state regression

main
Neil Alexander 2020-10-08 13:30:30 +01:00
parent a846dad0e1
commit 78f6e1a31e
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ func (u *latestEventsUpdater) latestState() error {
)
u.added = u.added[:0]
u.removed = u.removed[:0]
u.newStateNID = u.oldStateNID
return nil
}