mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +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:
parent
2132e0f1bb
commit
86ad896f35
1 changed files with 1 additions and 1 deletions
|
@ -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" } },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue