From a63d3ee62506e967c4e24f0a8b3790bf8d41b772 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sat, 3 Jul 2021 13:46:24 +0200 Subject: [PATCH] lib/model: Scan removed dirs when reverting recv-enc (fixes #7706) (#7797) --- lib/model/folder_recvenc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/model/folder_recvenc.go b/lib/model/folder_recvenc.go index 2c95a54f2..e9c8aee35 100644 --- a/lib/model/folder_recvenc.go +++ b/lib/model/folder_recvenc.go @@ -111,5 +111,6 @@ func (f *receiveEncryptedFolder) revertHandleDirs(dirs []string, snap *db.Snapsh if err := f.deleteDirOnDisk(dir, snap, scanChan); err != nil { f.newScanError(dir, fmt.Errorf("deleting unexpected dir: %w", err)) } + scanChan <- dir } }