aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mailbox_view.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-29 12:38:42 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-29 12:38:42 +0100
commitadb1a3b7c1cb24a773060f5944cdfe1ea7bd5816 (patch)
treebe2b806b5d5d0db5a7d3bd14f3a5d73d305bb18d /src/imap/mailbox_view.rs
parentb49f7e801bef78736e1a33361b883228dd55f134 (diff)
downloadaerogramme-adb1a3b7c1cb24a773060f5944cdfe1ea7bd5816.tar.gz
aerogramme-adb1a3b7c1cb24a773060f5944cdfe1ea7bd5816.zip
fix "fetch x rfc822"
close #33
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r--src/imap/mailbox_view.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs
index 99069e2..f896448 100644
--- a/src/imap/mailbox_view.rs
+++ b/src/imap/mailbox_view.rs
@@ -174,7 +174,7 @@ impl<'a> MailView<'a> {
Ok(MessageAttribute::Rfc822(NString(
self.content
.as_full()?
- .raw_body
+ .raw_part
.clone()
.try_into()
.ok()