mirror of https://github.com/M66B/FairEmail.git
List outbox in thread too
This commit is contained in:
parent
aa95c78563
commit
fbd3fab365
|
@ -103,8 +103,7 @@ public interface DaoMessage {
|
|||
@Query("SELECT message.* FROM message" +
|
||||
" JOIN folder ON folder.id = message.folder" +
|
||||
" WHERE message.account = :account" +
|
||||
" AND message.thread = :thread" +
|
||||
" AND folder.type <> '" + EntityFolder.OUTBOX + "'")
|
||||
" AND message.thread = :thread")
|
||||
List<EntityMessage> getMessageByThread(long account, String thread);
|
||||
|
||||
@Query("SELECT message.*, account.name AS accountName, folder.name as folderName, folder.type as folderType" +
|
||||
|
|
Loading…
Reference in New Issue