1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 16:53:37 +00:00

Always show unseen archived messages

This commit is contained in:
M66B 2020-10-28 16:48:05 +01:00
parent 791a0a4fe7
commit bb1b6b3b63

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