aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 16:03:42 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 16:03:42 +0100
commitfe28120676b2de0adc5db52a5d437b956f88fc06 (patch)
tree5fa98702353d4d9b616a1ad7341c65b1a4c6f0d0
parent07e2e50928cc0654f3ef1180254be920e2abc136 (diff)
downloadaerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.tar.gz
aerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.zip
bodystructure final fix
-rw-r--r--src/bayou.rs2
-rw-r--r--src/imap/mail_view.rs2
2 files changed, 2 insertions, 2 deletions
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<S: BayouState> Bayou<S> {
match &val[0] {
storage::Alternative::Value(v) => {
let op = open_deserialize::<S::Op>(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<MessageDataItem<'static>> {
- Ok(MessageDataItem::Body(mime_view::bodystructure(
+ Ok(MessageDataItem::BodyStructure(mime_view::bodystructure(
self.content.as_msg()?.child.as_ref(),
true,
)?))