Browse Source

Drafts should not be marked read

main
M66B 6 years ago
parent
commit
b341f41c8f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/src/main/java/eu/faircode/email/DaoMessage.java

+ 2
- 1
app/src/main/java/eu/faircode/email/DaoMessage.java View File

@ -105,7 +105,8 @@ public interface DaoMessage {
" JOIN folder ON folder.id = message.folder" +
" WHERE message.account = :account" +
" AND message.thread = :thread" +
" AND folder.type <> '" + EntityFolder.OUTBOX + "'")
" AND folder.type <> '" + EntityFolder.OUTBOX + "'" +
" AND folder.type <> '" + EntityFolder.DRAFTS + "'")
List<EntityMessage> getMessageByThread(long account, String thread);
@Query("SELECT id FROM message" +


Loading…
Cancel
Save