mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Exclude error folder from unread/starred count
This commit is contained in:
parent
e55feee952
commit
c2abfbe165
@ -8,7 +8,6 @@ import java.util.Arrays;
|
|||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.LinkedList;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
@ -1845,6 +1844,7 @@ public class Account implements BaseAccount {
|
|||||||
excludeSpecialFolder(search, getSpamFolderName());
|
excludeSpecialFolder(search, getSpamFolderName());
|
||||||
excludeSpecialFolder(search, getOutboxFolderName());
|
excludeSpecialFolder(search, getOutboxFolderName());
|
||||||
excludeSpecialFolder(search, getSentFolderName());
|
excludeSpecialFolder(search, getSentFolderName());
|
||||||
|
excludeSpecialFolder(search, getErrorFolderName());
|
||||||
search.or(new SearchCondition(Searchfield.FOLDER, Attribute.EQUALS, getInboxFolderName()));
|
search.or(new SearchCondition(Searchfield.FOLDER, Attribute.EQUALS, getInboxFolderName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user