1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Purge old, browsed/searched messages

This commit is contained in:
M66B 2019-07-06 18:18:26 +02:00
parent 338523ac0c
commit 6e02eb9b07

View file

@ -471,6 +471,6 @@ public interface DaoMessage {
" AND NOT uid IS NULL" +
" AND (ui_seen OR :unseen)" +
" AND NOT ui_flagged" +
" AND NOT ui_browsed")
" AND (NOT ui_browsed OR stored < :received)")
int deleteMessagesBefore(long folder, long received, boolean unseen);
}