mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Search: hidden: find unsnoozed
This commit is contained in:
@@ -779,7 +779,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||
}
|
||||
|
||||
if (criteria.with_hidden) {
|
||||
if (message.ui_snoozed == null)
|
||||
if (message.ui_snoozed == null && !message.ui_unsnoozed)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -385,7 +385,7 @@ public interface DaoMessage {
|
||||
" AND (:folder IS NULL OR folder = :folder)" +
|
||||
" AND (NOT :unseen OR NOT ui_seen)" +
|
||||
" AND (NOT :flagged OR ui_flagged)" +
|
||||
" AND (NOT :hidden OR NOT ui_snoozed IS NULL)" +
|
||||
" AND (NOT :hidden OR NOT ui_snoozed IS NULL OR ui_unsnoozed)" +
|
||||
" AND (NOT :encrypted OR ui_encrypt > 0)" +
|
||||
" AND (NOT :with_attachments OR attachments > 0)" +
|
||||
" AND (NOT :with_notes OR NOT `notes` IS NULL)" +
|
||||
|
||||
Reference in New Issue
Block a user