From bb66f7cee3ba29bc502d27b59db58e3c8f42fe4b Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 7 Feb 2023 11:27:17 +0100 Subject: bump mail_parser --- src/mail/mailbox.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mail') 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(), -- cgit v1.2.3