Small improvement

Refs #192
This commit is contained in:
M66B 2021-01-19 17:54:51 +01:00
parent 3179b547a2
commit 088967c25d
1 changed files with 3 additions and 1 deletions

View File

@ -687,8 +687,10 @@ public class FragmentAccount extends FragmentBase {
boolean selectable = true;
for (String attr : attrs)
if (attr.equalsIgnoreCase("\\NoSelect"))
if (attr.equalsIgnoreCase("\\NoSelect")) {
selectable = false;
break;
}
selectable = selectable && ((ifolder.getType() & IMAPFolder.HOLDS_MESSAGES) != 0);
if (type != null && selectable) {