mirror of https://github.com/M66B/FairEmail.git
Keep snoozed messages
This commit is contained in:
parent
a8bb72aa93
commit
7809d4a4cd
|
@ -794,7 +794,8 @@ public interface DaoMessage {
|
||||||
" AND NOT uid IS NULL" +
|
" AND NOT uid IS NULL" +
|
||||||
" AND (ui_seen OR :unseen)" +
|
" AND (ui_seen OR :unseen)" +
|
||||||
" AND NOT ui_flagged" +
|
" AND NOT ui_flagged" +
|
||||||
" AND NOT ui_browsed")
|
" AND NOT ui_browsed" +
|
||||||
|
" AND ui_snoozed IS NULL")
|
||||||
List<Long> getMessagesBefore(long folder, long before, boolean unseen);
|
List<Long> getMessagesBefore(long folder, long before, boolean unseen);
|
||||||
|
|
||||||
@Query("DELETE FROM message" +
|
@Query("DELETE FROM message" +
|
||||||
|
@ -803,6 +804,7 @@ public interface DaoMessage {
|
||||||
" AND NOT uid IS NULL" +
|
" AND NOT uid IS NULL" +
|
||||||
" AND (ui_seen OR :unseen)" +
|
" AND (ui_seen OR :unseen)" +
|
||||||
" AND NOT ui_flagged" +
|
" AND NOT ui_flagged" +
|
||||||
" AND (NOT ui_browsed OR stored < :before)")
|
" AND (NOT ui_browsed OR stored < :before)" +
|
||||||
|
" AND ui_snoozed IS NULL")
|
||||||
int deleteMessagesBefore(long folder, long before, boolean unseen);
|
int deleteMessagesBefore(long folder, long before, boolean unseen);
|
||||||
}
|
}
|
Loading…
Reference in New Issue