mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Fix misplaced info! message
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 = if let Some(user_agent) = headers.get("user-agent") {
|
let is_thunderbird = headers
|
||||||
info!(context, "Detected thunderbird");
|
.get("user-agent")
|
||||||
user_agent.contains("Thunderbird")
|
.map_or(false, |user_agent| user_agent.contains("Thunderbird"));
|
||||||
} else {
|
if is_thunderbird {
|
||||||
false
|
info!(context, "Detected Thunderbird");
|
||||||
};
|
}
|
||||||
|
|
||||||
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