1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

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