mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
fcfb1327cb
commit
59f3db62b6
|
@ -2389,7 +2389,7 @@ class Core {
|
|||
EntityFolder inbox = db.folder().getFolderByType(account.id, EntityFolder.INBOX);
|
||||
List<EntityFolder> children = db.folder().getChildFolders(inbox.id);
|
||||
for (EntityFolder child : children)
|
||||
if (!child.poll) {
|
||||
if (!child.poll && EntityFolder.USER.equals(child.type)) {
|
||||
count++;
|
||||
db.folder().setFolderPoll(child.id, true);
|
||||
EntityLog.log(context, "Fixed poll=" + child.name + ":" + child.type);
|
||||
|
|
Loading…
Reference in New Issue