Skip to content

Commit

Permalink
AccountSettings: Force sync should wipe the blacklist
Browse files Browse the repository at this point in the history
Issue #6757
  • Loading branch information
ogoffart committed Sep 3, 2018
1 parent a26901e commit f284517
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/accountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ void AccountSettings::slotScheduleCurrentFolderForceFullDiscovery()
{
FolderMan *folderMan = FolderMan::instance();
if (auto folder = folderMan->folder(selectedFolderAlias())) {
folder->slotWipeErrorBlacklist();
folder->slotNextSyncFullLocalDiscovery();
folder->journalDb()->forceRemoteDiscoveryNextSync();
folderMan->scheduleFolder(folder);
Expand All @@ -586,6 +587,8 @@ void AccountSettings::slotForceSyncCurrentFolder()
folderMan->scheduleFolder(current);
}

selectedFolder->slotWipeErrorBlacklist(); // issue #6757

// Insert the selected folder at the front of the queue
folderMan->scheduleFolderNext(selectedFolder);
}
Expand Down

0 comments on commit f284517

Please sign in to comment.