Fixed deleting messages

pull/147/head
M66B 6 years ago
parent 6d77ded87c
commit c29cebf18c

@ -250,7 +250,7 @@ public interface DaoMessage {
@Query("SELECT uid FROM message" + @Query("SELECT uid FROM message" +
" WHERE folder = :folder" + " WHERE folder = :folder" +
" AND (received IS NULL OR received >= :received)" + " AND (:received IS NULL OR received >= :received)" +
" AND NOT uid IS NULL") " AND NOT uid IS NULL")
List<Long> getUids(long folder, Long received); List<Long> getUids(long folder, Long received);

Loading…
Cancel
Save