View encrypted message improvements

This commit is contained in:
M66B
2018-09-03 08:43:44 +00:00
parent c75079a5ce
commit a64b7999f2
6 changed files with 61 additions and 64 deletions

View File

@@ -39,12 +39,6 @@ public interface DaoAttachment {
" WHERE message = :message")
int getAttachmentCount(long message);
@Query("SELECT COUNT(id)" +
" FROM attachment" +
" WHERE message = :message" +
" AND name = :name")
int getAttachmentCount(long message, String name);
@Query("SELECT COUNT(id)" +
" FROM attachment" +
" WHERE id = :id")