mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Added button to remove all attachments
This commit is contained in:
@@ -157,6 +157,10 @@ public interface DaoAttachment {
|
||||
" WHERE id = :id")
|
||||
int deleteAttachment(long id);
|
||||
|
||||
@Query("DELETE FROM attachment" +
|
||||
" WHERE message = :message")
|
||||
int deleteAttachments(long message);
|
||||
|
||||
@Query("DELETE FROM attachment" +
|
||||
" WHERE message = :message" +
|
||||
" AND (encryption IS NULL OR encryption NOT IN (:keep))")
|
||||
|
||||
Reference in New Issue
Block a user