From 37b124fe4cb1bfe0f130acad3b9f45034e502f60 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 31 Dec 2018 06:43:54 +0000 Subject: [PATCH] Hidden messages are seen --- app/src/main/java/eu/faircode/email/DaoAccount.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);