|
|
@ -3019,10 +3019,11 @@ class Core {
|
|
|
|
known.remove(uidl);
|
|
|
|
known.remove(uidl);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (TupleUidl uidl : known.values()) {
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
EntityLog.log(context, account.name + " POP purging uidl=" + uidl.uidl);
|
|
|
|
if (!uidl.ui_flagged) {
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
EntityLog.log(context, account.name + " POP purging uidl=" + uidl.uidl);
|
|
|
|
}
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Map<String, TupleUidl> known = new HashMap<>();
|
|
|
|
Map<String, TupleUidl> known = new HashMap<>();
|
|
|
|
for (TupleUidl id : ids)
|
|
|
|
for (TupleUidl id : ids)
|
|
|
@ -3037,10 +3038,11 @@ class Core {
|
|
|
|
known.remove(msgid);
|
|
|
|
known.remove(msgid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (TupleUidl uidl : known.values()) {
|
|
|
|
for (TupleUidl uidl : known.values())
|
|
|
|
EntityLog.log(context, account.name + " POP purging msgid=" + uidl.msgid);
|
|
|
|
if (!uidl.ui_flagged) {
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
EntityLog.log(context, account.name + " POP purging msgid=" + uidl.msgid);
|
|
|
|
}
|
|
|
|
db.message().deleteMessage(uidl.id);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|