diff --git a/app/src/main/java/eu/faircode/email/DaoAccount.java b/app/src/main/java/eu/faircode/email/DaoAccount.java index f0acf41b3c..efeb2b3e23 100644 --- a/app/src/main/java/eu/faircode/email/DaoAccount.java +++ b/app/src/main/java/eu/faircode/email/DaoAccount.java @@ -53,7 +53,8 @@ public interface DaoAccount { " AND folder.type <> '" + EntityFolder.TRASH + "'" + " AND folder.type <> '" + EntityFolder.DRAFTS + "'" + " AND folder.type <> '" + EntityFolder.OUTBOX + "'" + - " AND NOT ui_seen) AS unseen" + + " AND NOT ui_seen" + + " AND NOT ui_hide) AS unseen" + " FROM account" + " WHERE synchronize = :synchronize") LiveData> liveAccounts(boolean synchronize, boolean threading);