From fe28120676b2de0adc5db52a5d437b956f88fc06 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 8 Jan 2024 16:03:42 +0100 Subject: bodystructure final fix --- src/bayou.rs | 2 +- src/imap/mail_view.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/bayou.rs b/src/bayou.rs index c6a7ac0..d77e9dc 100644 --- a/src/bayou.rs +++ b/src/bayou.rs @@ -152,7 +152,7 @@ impl Bayou { match &val[0] { storage::Alternative::Value(v) => { let op = open_deserialize::(v, &self.key)?; - debug!("(sync) operation {}: {:?}", sort_key, op); + tracing::trace!("(sync) operation {}: {:?}", sort_key, op); ops.push((ts, op)); } storage::Alternative::Tombstone => { diff --git a/src/imap/mail_view.rs b/src/imap/mail_view.rs index 6a6bede..879166d 100644 --- a/src/imap/mail_view.rs +++ b/src/imap/mail_view.rs @@ -190,7 +190,7 @@ impl<'a> MailView<'a> { } fn body_structure(&self) -> Result> { - Ok(MessageDataItem::Body(mime_view::bodystructure( + Ok(MessageDataItem::BodyStructure(mime_view::bodystructure( self.content.as_msg()?.child.as_ref(), true, )?)) -- cgit v1.2.3