From f4f46dfed127c0658da61989c52622202debe191 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 31 Jan 2022 19:41:16 +0100 Subject: [PATCH] Fixed forward raw count --- app/src/main/java/eu/faircode/email/DaoMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/DaoMessage.java b/app/src/main/java/eu/faircode/email/DaoMessage.java index 5a0c15aa2b..5b2d6c31ea 100644 --- a/app/src/main/java/eu/faircode/email/DaoMessage.java +++ b/app/src/main/java/eu/faircode/email/DaoMessage.java @@ -295,7 +295,7 @@ public interface DaoMessage { @Query("SELECT COUNT(*) FROM message" + " WHERE id IN (:ids)" + - " AND raw IS NULL or NOT raw") + " AND (raw IS NULL OR NOT raw)") LiveData liveRaw(long[] ids); @Query("SELECT *" +