diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 8054900c6b..bb922a4416 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -3010,15 +3010,18 @@ class Core { // Index IDs Map uidlTuple = new HashMap<>(); for (TupleUidl id : ids) { - if (id.uidl != null && id.msgid != null) + if (id.uidl != null && id.msgid != null) { + if (uidlTuple.containsKey(id.uidl)) + Log.w(account.name + " POP duplicate uidl/msgid=" + id.uidl + "/" + id.msgid); uidlTuple.put(id.uidl, id); + } } Map msgIdTuple = new HashMap<>(); for (TupleUidl id : ids) if (id.msgid != null) { if (msgIdTuple.containsKey(id.msgid)) - Log.w(account.name + " POP duplicate msgid=" + id.msgid); + Log.w(account.name + " POP duplicate msgid/uidl=" + id.msgid + "/" + id.uidl); msgIdTuple.put(id.msgid, id); }