mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Delete local browsed messages which are deleted from the server
This commit is contained in:
parent
ec1871acf2
commit
5738841280
1 changed files with 1 additions and 2 deletions
|
@ -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" +
|
||||
|
|
Loading…
Reference in a new issue