Web.de: Unbekannt contains similar messages

pull/215/head
M66B 4 months ago
parent 9c952e7e24
commit 1141d4b31c

@ -218,6 +218,10 @@ public class EntityAccount extends EntityOrder implements Serializable {
return "imap.wp.pl".equalsIgnoreCase(host);
}
boolean isWebDe() {
return "imap.web.de".equalsIgnoreCase(host);
}
boolean isICloud() {
return "imap.mail.me.com".equalsIgnoreCase(host);
}

@ -125,7 +125,7 @@ public class EntityOperation {
boolean ignore = jargs.optBoolean(1, true);
EntityAccount account = db.account().getAccount(message.id);
for (EntityMessage similar : db.message().getMessagesBySimilarity(message.account, message.id, message.msgid, message.hash)) {
if ((account != null && !account.isGmail()) &&
if ((account != null && !account.isGmail() && !account.isWebDe()) &&
!Objects.equals(message.id, similar.id) &&
Objects.equals(message.msgid, similar.msgid))
continue;

Loading…
Cancel
Save