mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Selectively keep encryption parts
This commit is contained in:
@@ -140,6 +140,6 @@ public interface DaoAttachment {
|
||||
|
||||
@Query("DELETE FROM attachment" +
|
||||
" WHERE message = :message" +
|
||||
" AND encryption IS NULL")
|
||||
int deleteAttachments(long message);
|
||||
" AND (encryption IS NULL OR encryption NOT IN (:keep))")
|
||||
int deleteAttachments(long message, int[] keep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user