aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-07 11:27:17 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-07 11:27:17 +0100
commitbb66f7cee3ba29bc502d27b59db58e3c8f42fe4b (patch)
tree8be276ccf6756ae66ab3b74066351defee273900 /src/mail/mailbox.rs
parentca385824b2e076505108b405ac7ea0f69f1c114a (diff)
downloadaerogramme-bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b.tar.gz
aerogramme-bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b.zip
bump mail_parser
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index df7ede9..a37c9ed 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -308,7 +308,7 @@ impl MailboxInternal {
},
async {
// Save mail meta
- let mail_root = mail.parsed.get_root_part();
+ let mail_root = mail.parsed.root_part();
let meta = MailMeta {
internaldate: now_msec(),
headers: mail.raw[..mail_root.offset_body].to_vec(),
@@ -359,7 +359,7 @@ impl MailboxInternal {
},
async {
// Save mail meta
- let mail_root = mail.parsed.get_root_part();
+ let mail_root = mail.parsed.root_part();
let meta = MailMeta {
internaldate: now_msec(),
headers: mail.raw[..mail_root.offset_body].to_vec(),