Fixed inline attachments

This commit is contained in:
M66B
2019-01-06 12:18:17 +00:00
parent 9154945de9
commit 7cc1f076f4
6 changed files with 17 additions and 7 deletions

View File

@@ -68,6 +68,11 @@ public interface DaoAttachment {
" WHERE id = :id")
void setDownloaded(long id, Integer size);
@Query("UPDATE attachment" +
" SET cid = :cid" +
" WHERE id = :id")
void setCid(long id, String cid);
@Insert
long insertAttachment(EntityAttachment attachment);