Folder specials

This commit is contained in:
M66B
2020-12-01 21:07:13 +01:00
parent d550f312fc
commit e7a9266b2b
6 changed files with 12 additions and 4 deletions

View File

@@ -260,6 +260,11 @@ public class EntityFolder extends EntityOrder implements Serializable {
}
}
void setSpecials(EntityAccount account) {
if ("imap.web.de".equals(account.host) && "Unbekannt".equals(name))
synchronize = true;
}
static boolean shouldPoll(String type) {
int sync = EntityFolder.SYSTEM_FOLDER_SYNC.indexOf(type);
return (sync < 0 || EntityFolder.SYSTEM_FOLDER_POLL.get(sync));