Update draft in place, revised compose

Fixes #36
This commit is contained in:
M66B
2018-08-13 11:22:57 +00:00
parent 951bdfab67
commit 52d72ca803
6 changed files with 148 additions and 199 deletions

View File

@@ -34,13 +34,6 @@ public interface DaoAttachment {
" ORDER BY sequence")
LiveData<List<EntityAttachment>> liveAttachments(long id);
@Query("SELECT attachment.* FROM attachment" +
" JOIN message ON message.id = attachment.message" +
" WHERE folder = :folder" +
" AND msgid = :msgid" +
" ORDER BY sequence")
LiveData<List<EntityAttachment>> liveAttachments(long folder, String msgid);
@Query("SELECT COUNT(attachment.id)" +
" FROM attachment" +
" WHERE message = :message")