Folder: Treat file unlock similar to external change #6822

For consistent handling of incoming notifications.
This commit is contained in:
Christian Kamm 2018-11-01 12:25:12 +01:00 committed by Kevin Ottens
parent 815e0fee8f
commit da178c1352
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -882,7 +882,8 @@ void FolderMan::slotServerVersionChanged(Account *account)
void FolderMan::slotWatchedFileUnlocked(const QString &path)
{
if (Folder *f = folderForPath(path)) {
f->scheduleThisFolderSoon();
// Treat this equivalently to the file being reported by the file watcher
f->slotWatchedPathChanged(path);
}
}