Fix attachment disposition

This commit is contained in:
M66B
2019-07-06 14:18:14 +02:00
parent 18f0e29437
commit 0fbff8cfdf
2 changed files with 24 additions and 0 deletions

View File

@@ -92,6 +92,11 @@ public interface DaoAttachment {
" WHERE id = :id")
void setError(long id, String error);
@Query("UPDATE attachment" +
" SET disposition = :disposition" +
" WHERE id = :id")
void setDisposition(long id, String disposition);
@Query("UPDATE attachment" +
" SET cid = :cid" +
" WHERE id = :id")