diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 16:03:42 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 16:03:42 +0100 |
commit | fe28120676b2de0adc5db52a5d437b956f88fc06 (patch) | |
tree | 5fa98702353d4d9b616a1ad7341c65b1a4c6f0d0 /src/imap/mail_view.rs | |
parent | 07e2e50928cc0654f3ef1180254be920e2abc136 (diff) | |
download | aerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.tar.gz aerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.zip |
bodystructure final fix
Diffstat (limited to 'src/imap/mail_view.rs')
-rw-r--r-- | src/imap/mail_view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, )?)) |