Show inline images

Resf #49
This commit is contained in:
M66B
2018-09-13 17:03:28 +00:00
parent cdb745d0b7
commit fd65310f22
8 changed files with 1016 additions and 6 deletions

View File

@@ -54,6 +54,11 @@ public interface DaoAttachment {
" AND sequence = :sequence")
EntityAttachment getAttachment(long message, int sequence);
@Query("SELECT * FROM attachment" +
" WHERE message = :message" +
" AND cid = :cid")
EntityAttachment getAttachment(long message, String cid);
@Query("SELECT * FROM attachment" +
" WHERE id = :id")
EntityAttachment getAttachment(long id);