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 *" +