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/imap/mail_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imap') 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