mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Initially sync 7 days, default sync 1 day
This commit is contained in:
@@ -515,8 +515,8 @@ public class FragmentAccount extends FragmentEx {
|
||||
folder.name = ifolder.getFullName();
|
||||
folder.type = (type == null ? EntityFolder.USER : type);
|
||||
folder.synchronize = (type != null && EntityFolder.SYSTEM_FOLDER_SYNC.contains(type));
|
||||
folder.sync_days = (type == null ? EntityFolder.DEFAULT_USER_SYNC : EntityFolder.DEFAULT_SYSTEM_SYNC);
|
||||
folder.keep_days = folder.sync_days;
|
||||
folder.sync_days = EntityFolder.DEFAULT_SYNC;
|
||||
folder.keep_days = EntityFolder.DEFAULT_KEEP;
|
||||
}
|
||||
result.folders.add(folder);
|
||||
|
||||
@@ -767,8 +767,8 @@ public class FragmentAccount extends FragmentEx {
|
||||
inbox.synchronize = true;
|
||||
inbox.unified = true;
|
||||
inbox.notify = true;
|
||||
inbox.sync_days = EntityFolder.DEFAULT_INBOX_SYNC;
|
||||
inbox.keep_days = inbox.sync_days;
|
||||
inbox.sync_days = EntityFolder.DEFAULT_SYNC;
|
||||
inbox.keep_days = EntityFolder.DEFAULT_KEEP;
|
||||
|
||||
folders.add(inbox);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user