Reset non syncable folders

pull/194/merge
M66B 3 years ago
parent a5c26a1a2a
commit 834a4f0af4

@ -2439,6 +2439,8 @@ class Core {
" connected=" + (ifolder != null));
if (!EntityFolder.INBOX.equals(folder.type)) {
folder.synchronize = false;
db.folder().setFolderSynchronize(folder.id, folder.synchronize);
db.folder().setFolderSyncState(folder.id, null);
return;
}
@ -2851,6 +2853,7 @@ class Core {
if (folder.local) {
folder.synchronize = false;
db.folder().setFolderSynchronize(folder.id, folder.synchronize);
db.folder().setFolderSyncState(folder.id, null);
return;
}

Loading…
Cancel
Save