bodystructure final fix

This commit is contained in:
Quentin 2024-01-08 16:03:42 +01:00
parent 07e2e50928
commit fe28120676
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ impl<S: BayouState> Bayou<S> {
match &val[0] { match &val[0] {
storage::Alternative::Value(v) => { storage::Alternative::Value(v) => {
let op = open_deserialize::<S::Op>(v, &self.key)?; 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)); ops.push((ts, op));
} }
storage::Alternative::Tombstone => { storage::Alternative::Tombstone => {

View file

@ -190,7 +190,7 @@ impl<'a> MailView<'a> {
} }
fn body_structure(&self) -> Result<MessageDataItem<'static>> { 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(), self.content.as_msg()?.child.as_ref(),
true, true,
)?)) )?))