aboutsummaryrefslogtreecommitdiff
path: root/src/imap
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 /src/imap
parent07e2e50928cc0654f3ef1180254be920e2abc136 (diff)
downloadaerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.tar.gz
aerogramme-fe28120676b2de0adc5db52a5d437b956f88fc06.zip
bodystructure final fix
Diffstat (limited to 'src/imap')
-rw-r--r--src/imap/mail_view.rs2
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,
)?))