1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-04 18:48:31 +00:00
This commit is contained in:
M66B 2024-11-01 17:06:59 +01:00
parent 548b0f93d6
commit ce1d0cb876

View file

@ -3938,7 +3938,7 @@ class Core {
Calendar cal_keep_unread = Calendar.getInstance();
cal_keep_unread.add(Calendar.DAY_OF_MONTH,
delete_unseen ? keep_days * 6 : -Math.max(keep_days * 6, EntityFolder.DEFAULT_KEEP * 6));
delete_unseen ? -keep_days * 6 : -Math.max(keep_days * 6, EntityFolder.DEFAULT_KEEP * 6));
cal_keep_unread.set(Calendar.HOUR_OF_DAY, 0);
cal_keep_unread.set(Calendar.MINUTE, 0);
cal_keep_unread.set(Calendar.SECOND, 0);