|
|
@ -3306,9 +3306,9 @@ class Core {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
if (!uidl.ui_flagged &&
|
|
|
|
if (account.leave_on_device
|
|
|
|
(!account.leave_on_device ||
|
|
|
|
? uidl.ui_hide && (uidl.ui_busy == null || uidl.ui_busy < now)
|
|
|
|
(uidl.ui_hide && (uidl.ui_busy == null || uidl.ui_busy < now)))) {
|
|
|
|
: !uidl.ui_flagged) {
|
|
|
|
EntityLog.log(context, account.name + " POP purging" +
|
|
|
|
EntityLog.log(context, account.name + " POP purging" +
|
|
|
|
" uidl=" + uidl.uidl + " hidden=" + uidl.ui_hide);
|
|
|
|
" uidl=" + uidl.uidl + " hidden=" + uidl.ui_hide);
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
@ -3327,9 +3327,9 @@ class Core {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
if (!uidl.ui_flagged &&
|
|
|
|
if (account.leave_on_device
|
|
|
|
(!account.leave_on_device ||
|
|
|
|
? uidl.ui_hide && (uidl.ui_busy == null || uidl.ui_busy < now)
|
|
|
|
(uidl.ui_hide && (uidl.ui_busy == null || uidl.ui_busy < now)))) {
|
|
|
|
: !uidl.ui_flagged) {
|
|
|
|
EntityLog.log(context, account.name + " POP purging" +
|
|
|
|
EntityLog.log(context, account.name + " POP purging" +
|
|
|
|
" msgid=" + uidl.msgid + " hidden=" + uidl.ui_hide);
|
|
|
|
" msgid=" + uidl.msgid + " hidden=" + uidl.ui_hide);
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|