mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Added attachment zipping
This commit is contained in:
@@ -108,6 +108,12 @@ public interface DaoAttachment {
|
||||
" AND NOT (error IS :error)")
|
||||
void setWarning(long id, String error);
|
||||
|
||||
@Query("UPDATE attachment" +
|
||||
" SET name = :name, type = :type, size= :size" +
|
||||
" WHERE id = :id" +
|
||||
" AND NOT (name IS name AND type IS :type AND size IS :size)")
|
||||
void setName(long id, String name, String type, Long size);
|
||||
|
||||
@Query("UPDATE attachment" +
|
||||
" SET type = :type" +
|
||||
" WHERE id = :id" +
|
||||
|
||||
Reference in New Issue
Block a user