From c2abfbe1657e0039ae0bf3522cae6e1cccae620c Mon Sep 17 00:00:00 2001 From: cketti Date: Sun, 9 Mar 2014 04:34:46 +0100 Subject: [PATCH] Exclude error folder from unread/starred count --- src/com/fsck/k9/Account.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/Account.java b/src/com/fsck/k9/Account.java index 1c0af846b..d2510f930 100644 --- a/src/com/fsck/k9/Account.java +++ b/src/com/fsck/k9/Account.java @@ -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())); }