Always allow moving to drafts from outbox

This commit is contained in:
M66B
2019-05-22 22:26:06 +02:00
parent 1d4b953daa
commit 017f7e2b0a
2 changed files with 78 additions and 38 deletions

View File

@@ -104,4 +104,9 @@ public interface DaoOperation {
@Query("DELETE FROM operation WHERE id = :id")
int deleteOperation(long id);
@Query("DELETE FROM operation" +
" WHERE message = :message" +
" AND name = :name")
int deleteOperation(long message, String name);
}