Exclude error folder from unread/starred count

This commit is contained in:
cketti 2014-03-09 04:34:46 +01:00
parent dcd1e63812
commit 0c37a28754
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,6 @@ import java.util.Arrays;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
@ -1845,6 +1844,7 @@ public class Account implements BaseAccount {
excludeSpecialFolder(search, getSpamFolderName());
excludeSpecialFolder(search, getOutboxFolderName());
excludeSpecialFolder(search, getSentFolderName());
excludeSpecialFolder(search, getErrorFolderName());
search.or(new SearchCondition(Searchfield.FOLDER, Attribute.EQUALS, getInboxFolderName()));
}