POP3 Message-ID to find messages

pull/210/head
M66B 2 years ago
parent bf80e7683d
commit 9224b0900c

@ -927,7 +927,7 @@ class Core {
MessageHelper helper = new MessageHelper((MimeMessage) imessage, context); MessageHelper helper = new MessageHelper((MimeMessage) imessage, context);
String uidl = (hasUidl ? ifolder.getUID(imessage) : null); String uidl = (hasUidl ? ifolder.getUID(imessage) : null);
String msgid = (TextUtils.isEmpty(uidl) ? helper.getMessageID() : null); String msgid = (TextUtils.isEmpty(uidl) ? helper.getPOP3MessageID() : null);
if ((uidl != null && uidl.equals(message.uidl)) || if ((uidl != null && uidl.equals(message.uidl)) ||
(msgid != null && msgid.equals(message.msgid))) { (msgid != null && msgid.equals(message.msgid))) {

Loading…
Cancel
Save