Skip purging encryption related attachments

This commit is contained in:
M66B 2021-04-18 08:02:41 +02:00
parent ac25f45a08
commit 8c1ef89aec
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ public interface DaoAttachment {
" AND a.available" +
" AND message.ui_seen" +
" AND NOT message.ui_flagged" +
" AND encryption IS NULL" +
" AND message.received < :now - (folder.sync_days + 1) * 24 * 3600 * 1000)")
int purge(long now);