mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-21 10:44:25 -04:00
lib/model: Schedule pull after revert on recv-enc (#7892)
This commit is contained in:
1 parent
c025e76f30
commit
0fe72e6fc5
1 file changed
+8
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user