mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 08:16:32 +03:00
Revert "Fix misplaced info! message" (#3778)
This reverts commit 08de326930.
This commit is contained in:
@@ -216,12 +216,12 @@ impl MimeMessage {
|
|||||||
headers.remove("secure-join-fingerprint");
|
headers.remove("secure-join-fingerprint");
|
||||||
headers.remove("chat-verified");
|
headers.remove("chat-verified");
|
||||||
|
|
||||||
let is_thunderbird = headers
|
let is_thunderbird = if let Some(user_agent) = headers.get("user-agent") {
|
||||||
.get("user-agent")
|
info!(context, "Detected thunderbird");
|
||||||
.map_or(false, |user_agent| user_agent.contains("Thunderbird"));
|
user_agent.contains("Thunderbird")
|
||||||
if is_thunderbird {
|
} else {
|
||||||
info!(context, "Detected Thunderbird");
|
false
|
||||||
}
|
};
|
||||||
|
|
||||||
let from = from.context("No from in message")?;
|
let from = from.context("No from in message")?;
|
||||||
let mut decryption_info =
|
let mut decryption_info =
|
||||||
|
|||||||
Reference in New Issue
Block a user