mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-16 04:20:37 +02:00
Optimized attachment downloading, small fix
This commit is contained in:
@@ -67,6 +67,11 @@ public interface DaoAttachment {
|
||||
" WHERE id = :id")
|
||||
void setMessage(long id, long message);
|
||||
|
||||
@Query("UPDATE attachment" +
|
||||
" SET name = :name, type = :type, disposition = :disposition, cid = :cid, encryption = :encryption" +
|
||||
" WHERE id = :id")
|
||||
void setInfo(long id, String name, String type, String disposition, String cid, Integer encryption);
|
||||
|
||||
@Query("UPDATE attachment" +
|
||||
" SET error = NULL, progress = :progress, available = 0" +
|
||||
" WHERE id = :id")
|
||||
|
||||
Reference in New Issue
Block a user