1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 01:06:04 +00:00

Drafts should not be marked read

This commit is contained in:
M66B 2018-09-07 11:22:58 +00:00
parent 77f16a0caf
commit b341f41c8f

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" +