mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-12 03:54:28 +02:00
Reset non syncable folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user