mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
UID EXPUNGE for folders
This commit is contained in:
@@ -623,6 +623,12 @@ public interface DaoMessage {
|
||||
" AND NOT content")
|
||||
List<EntityMessage> getMessagesWithoutContent(long folder, Long received);
|
||||
|
||||
@Query("SELECT uid FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND ui_deleted" +
|
||||
" AND NOT uid IS NULL")
|
||||
List<Long> getDeletedUids(long folder);
|
||||
|
||||
@Query("SELECT uid FROM message" +
|
||||
" WHERE folder = :folder" +
|
||||
" AND NOT ui_busy IS NULL" +
|
||||
|
||||
Reference in New Issue
Block a user