From 2804330ec219fb9a8e81164cc5cb27bec57936f7 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 24 Nov 2019 08:45:38 +0100 Subject: [PATCH] Exclude unread junk from account unread --- app/src/main/java/eu/faircode/email/DaoAccount.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/DaoAccount.java b/app/src/main/java/eu/faircode/email/DaoAccount.java index c0ec92775b..5eae0382de 100644 --- a/app/src/main/java/eu/faircode/email/DaoAccount.java +++ b/app/src/main/java/eu/faircode/email/DaoAccount.java @@ -50,6 +50,7 @@ public interface DaoAccount { " WHERE message.account = account.id" + " AND folder.type <> '" + EntityFolder.ARCHIVE + "'" + " AND folder.type <> '" + EntityFolder.TRASH + "'" + + " AND folder.type <> '" + EntityFolder.JUNK + "'" + " AND folder.type <> '" + EntityFolder.DRAFTS + "'" + " AND folder.type <> '" + EntityFolder.OUTBOX + "'" + " AND NOT ui_seen" +