Always show unseen archived messages

This commit is contained in:
M66B 2020-10-28 16:48:05 +01:00
parent 791a0a4fe7
commit bb1b6b3b63
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ public interface DaoMessage {
" AND message.thread = :thread" +
" AND (:id IS NULL OR message.id = :id)" +
" AND (NOT :filter_archive" +
" OR (NOT message.ui_seen AND NOT message.ui_hide)" +
" OR folder.type <> '" + EntityFolder.ARCHIVE + "'" +
" OR NOT EXISTS" +
" (SELECT * FROM message m" +