Purge old, browsed/searched messages

pull/157/head
M66B 6 years ago
parent 338523ac0c
commit 6e02eb9b07

@ -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);
}
Loading…
Cancel
Save