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:
parent
9c952e7e24
commit
1141d4b31c
2 changed files with 5 additions and 1 deletions
|
@ -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…
Reference in a new issue