mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Mail: Fetch mailbox contents with BODY.PEEK[] type instead of BODY[]
We don't want to mark the entire mailbox as read when checking emails, don't we? :^)
This commit is contained in:
@@ -271,7 +271,7 @@ void MailWidget::selected_mailbox()
|
||||
.sequence_set = { { 1, (int)response.data().exists() } },
|
||||
.data_items = {
|
||||
IMAP::FetchCommand::DataItem {
|
||||
.type = IMAP::FetchCommand::DataItemType::BodySection,
|
||||
.type = IMAP::FetchCommand::DataItemType::PeekBody,
|
||||
.section = IMAP::FetchCommand::DataItem::Section {
|
||||
.type = IMAP::FetchCommand::DataItem::SectionType::HeaderFields,
|
||||
.headers = { { "Subject", "From" } },
|
||||
|
||||
Reference in New Issue
Block a user