mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
Don't set empty state snapshots
This commit is contained in:
parent
534f9a9eb6
commit
04dc019e5e
@ -163,6 +163,8 @@ func (u *latestEventsUpdater) doUpdateLatestEvents() error {
|
||||
if updates, err = u.api.updateMemberships(u.ctx, u.updater, u.removed, u.added); err != nil {
|
||||
return fmt.Errorf("u.api.updateMemberships: %w", err)
|
||||
}
|
||||
} else {
|
||||
u.newStateNID = u.oldStateNID
|
||||
}
|
||||
|
||||
update, err := u.makeOutputNewRoomEvent()
|
||||
|
Loading…
Reference in New Issue
Block a user