Default poll Gmail user folders

This commit is contained in:
M66B 2018-12-06 13:57:53 +01:00
parent a6f8b26c1f
commit a28ac1c0da
1 changed files with 1 additions and 0 deletions

View File

@ -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);