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

Web.de: Unbekannt contains similar messages

This commit is contained in:
M66B 2024-07-05 11:42:57 +02:00
parent 9c952e7e24
commit 1141d4b31c
2 changed files with 5 additions and 1 deletions

View file

@ -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);
}

View file

@ -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;