v0.2.10
RustBox CI / rustbox (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-01 23:52:18 +01:00
1 parent a116890e20
commit 02d0b13ec1
24 files changed
+245 -93

No files matched your search

+2 -6
View File
@@ -3,7 +3,7 @@ use futures::StreamExt;
use super::connection::map_imap_error;
use super::parse::{
decode_rfc2047, flag_to_string, has_attachments, imap_address_to_email,
decode_header_bytes, flag_to_string, has_attachments, imap_address_to_email,
name_attribute_to_string,
};
@@ -407,11 +407,7 @@ impl ImapClient for RealImapClient {
.and_then(|raw| mail_parser::MessageParser::default().parse(raw));
let (subject, from, to, cc, date) = if let Some(env) = fetch.envelope() {
let subject = env
.subject
.as_ref()
.and_then(|b| std::str::from_utf8(b).ok())
.map(decode_rfc2047);
let subject = env.subject.as_ref().map(|b| decode_header_bytes(b));
let from: Vec<EmailAddress> = env
.from