check for sender mailer-daemon as link2xt proposed

This commit is contained in:
Hocuri
2020-06-13 17:29:38 +02:00
parent 45b871f76d
commit 15b30ceed1
2 changed files with 2 additions and 2 deletions

View File

@@ -1458,7 +1458,7 @@ pub(crate) async fn prefetch_should_download(
let is_reply_to_chat_message = prefetch_is_reply_to_chat_message(context, &headers).await;
let maybe_ndn = if let Some(from) = headers.get_header_value(HeaderDef::From_) {
from.to_ascii_lowercase().contains("daemon")
from.to_ascii_lowercase().contains("mailer-daemon")
} else {
false
};