mirror of https://github.com/M66B/FairEmail.git
Synchronize "Unbekannt"
This commit is contained in:
parent
5062b46a8b
commit
a5dc2369d2
|
@ -1718,11 +1718,13 @@ class Core {
|
|||
|
||||
folder = db.folder().getFolderByName(account.id, fullName);
|
||||
if (folder == null) {
|
||||
boolean synchronize = "Unbekannt".equals(fullName);
|
||||
|
||||
folder = new EntityFolder();
|
||||
folder.account = account.id;
|
||||
folder.name = fullName;
|
||||
folder.type = (EntityFolder.SYSTEM.equals(type) ? type : EntityFolder.USER);
|
||||
folder.synchronize = (subscribed && subscriptions && sync_subscribed);
|
||||
folder.synchronize = (synchronize || (subscribed && subscriptions && sync_subscribed));
|
||||
folder.subscribed = subscribed;
|
||||
folder.poll = true;
|
||||
folder.sync_days = EntityFolder.DEFAULT_SYNC;
|
||||
|
|
Loading…
Reference in New Issue