Always download messages inline for wp.pl

This commit is contained in:
M66B 2023-08-30 10:33:58 +02:00
parent 13f1d734d5
commit 32b25dc835
2 changed files with 5 additions and 0 deletions

View File

@ -4845,6 +4845,7 @@ class Core {
if (body != null ||
(message.size != null && message.size < maxSize) ||
account.isWpPl() ||
(MessageClassifier.isEnabled(context)) && folder.auto_classify_source)
try {
if (body == null)

View File

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