|
|
@ -2389,7 +2389,7 @@ class Core {
|
|
|
|
EntityFolder inbox = db.folder().getFolderByType(account.id, EntityFolder.INBOX);
|
|
|
|
EntityFolder inbox = db.folder().getFolderByType(account.id, EntityFolder.INBOX);
|
|
|
|
List<EntityFolder> children = db.folder().getChildFolders(inbox.id);
|
|
|
|
List<EntityFolder> children = db.folder().getChildFolders(inbox.id);
|
|
|
|
for (EntityFolder child : children)
|
|
|
|
for (EntityFolder child : children)
|
|
|
|
if (!child.poll) {
|
|
|
|
if (!child.poll && EntityFolder.USER.equals(child.type)) {
|
|
|
|
count++;
|
|
|
|
count++;
|
|
|
|
db.folder().setFolderPoll(child.id, true);
|
|
|
|
db.folder().setFolderPoll(child.id, true);
|
|
|
|
EntityLog.log(context, "Fixed poll=" + child.name + ":" + child.type);
|
|
|
|
EntityLog.log(context, "Fixed poll=" + child.name + ":" + child.type);
|
|
|
|