Delete local browsed messages which are deleted from the server

This commit is contained in:
M66B 2019-06-09 10:07:25 +02:00
parent ec1871acf2
commit 5738841280
1 changed files with 1 additions and 2 deletions

View File

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