mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added quick sync options
This commit is contained in:
@@ -566,6 +566,13 @@ public interface DaoMessage {
|
||||
" AND NOT uid IS NULL")
|
||||
List<Long> getUids(long folder, Long received);
|
||||
|
||||
@Query("SELECT * FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND (:received IS NULL OR received >= :received)" +
|
||||
" AND NOT uid IS NULL" +
|
||||
" AND NOT content")
|
||||
List<EntityMessage> getMessagesWithoutContent(long folder, Long received);
|
||||
|
||||
@Query("SELECT uid FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND NOT ui_busy IS NULL" +
|
||||
|
||||
Reference in New Issue
Block a user