Keep recently stored messages

This commit is contained in:
M66B
2020-11-07 14:41:20 +01:00
parent 6648169757
commit 4a01010408
2 changed files with 5 additions and 1 deletions

View File

@@ -798,7 +798,7 @@ public interface DaoMessage {
" AND NOT uid IS NULL" +
" AND (ui_seen OR :unseen)" +
" AND NOT ui_flagged" +
" AND (NOT ui_browsed OR stored < :before)" +
" AND stored < :before" + // moved, browsed
" AND ui_snoozed IS NULL")
int deleteMessagesBefore(long folder, long before, boolean unseen);
}