mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
lib/model: Schedule pull after revert on recv-enc (#7892)
This commit is contained in:
parent
c025e76f30
commit
0fe72e6fc5
@ -94,7 +94,14 @@ func (f *receiveEncryptedFolder) revert() error {
|
||||
if iterErr != nil {
|
||||
return iterErr
|
||||
}
|
||||
return batch.Flush()
|
||||
if err := batch.Flush(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// We might need to pull items if the local changes were on valid, global files.
|
||||
f.SchedulePull()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (f *receiveEncryptedFolder) revertHandleDirs(dirs []string, snap *db.Snapshot) {
|
||||
|
Loading…
Reference in New Issue
Block a user