mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +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));
|
||||
|
||||
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…
Reference in a new issue