aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/mail')
-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(),