From 0c37a28754db8c5c914fc66b862fcfc273af3ceb 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 f9a9bb51e..d83ccb57a 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())); }