Fixed resetting folder types

This commit is contained in:
M66B
2019-02-02 11:50:57 +00:00
parent ba116353d9
commit 7e2479d138
3 changed files with 5 additions and 9 deletions

View File

@@ -2218,7 +2218,7 @@ public class ServiceSynchronize extends LifecycleService {
folder.account = account.id;
folder.name = fullName;
folder.display = display;
folder.type = EntityFolder.USER;
folder.type = (EntityFolder.SYSTEM.equals(type) ? type : EntityFolder.USER);
folder.level = level;
folder.synchronize = false;
folder.poll = ("imap.gmail.com".equals(account.host));