diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-07 11:27:17 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-07 11:27:17 +0100 |
commit | bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b (patch) | |
tree | 8be276ccf6756ae66ab3b74066351defee273900 /src/mail | |
parent | ca385824b2e076505108b405ac7ea0f69f1c114a (diff) | |
download | aerogramme-bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b.tar.gz aerogramme-bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b.zip |
bump mail_parser
Diffstat (limited to 'src/mail')
-rw-r--r-- | src/mail/mailbox.rs | 4 |
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(), |