Fixed forward raw count

This commit is contained in:
M66B
2022-01-31 19:41:16 +01:00
parent 3f3f2da401
commit f4f46dfed1

View File

@@ -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<Integer> liveRaw(long[] ids);
@Query("SELECT *" +