1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

POP3 Message-ID to find messages

This commit is contained in:
M66B 2022-11-24 11:31:47 +01:00
parent bf80e7683d
commit 9224b0900c

View file

@ -927,7 +927,7 @@ class Core {
MessageHelper helper = new MessageHelper((MimeMessage) imessage, context);
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)) ||
(msgid != null && msgid.equals(message.msgid))) {