mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Reset non syncable folders
This commit is contained in:
parent
a5c26a1a2a
commit
834a4f0af4
1 changed files with 3 additions and 0 deletions
|
@ -2439,6 +2439,8 @@ class Core {
|
||||||
" connected=" + (ifolder != null));
|
" connected=" + (ifolder != null));
|
||||||
|
|
||||||
if (!EntityFolder.INBOX.equals(folder.type)) {
|
if (!EntityFolder.INBOX.equals(folder.type)) {
|
||||||
|
folder.synchronize = false;
|
||||||
|
db.folder().setFolderSynchronize(folder.id, folder.synchronize);
|
||||||
db.folder().setFolderSyncState(folder.id, null);
|
db.folder().setFolderSyncState(folder.id, null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -2851,6 +2853,7 @@ class Core {
|
||||||
if (folder.local) {
|
if (folder.local) {
|
||||||
folder.synchronize = false;
|
folder.synchronize = false;
|
||||||
db.folder().setFolderSynchronize(folder.id, folder.synchronize);
|
db.folder().setFolderSynchronize(folder.id, folder.synchronize);
|
||||||
|
db.folder().setFolderSyncState(folder.id, null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue