mirror of https://github.com/M66B/FairEmail.git
Default poll Gmail user folders
This commit is contained in:
parent
a6f8b26c1f
commit
a28ac1c0da
|
@ -1829,6 +1829,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
folder.type = EntityFolder.USER;
|
||||
folder.level = level;
|
||||
folder.synchronize = false;
|
||||
folder.poll = ("imap.gmail.com".equals(account.host));
|
||||
folder.sync_days = EntityFolder.DEFAULT_USER_SYNC;
|
||||
folder.keep_days = EntityFolder.DEFAULT_USER_SYNC;
|
||||
db.folder().insertFolder(folder);
|
||||
|
|
Loading…
Reference in New Issue