IMAP: Add Sender to list of headers to fetch by default

This commit is contained in:
cketti 2023-01-23 17:40:18 +01:00
parent 9cb6859ad6
commit 6762b2c488
2 changed files with 2 additions and 2 deletions

View file

@ -538,7 +538,7 @@ internal class RealImapFolder(
fetchFields.add("RFC822.SIZE")
fetchFields.add(
"BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc " +
"reply-to message-id references in-reply-to list-unsubscribe " +
"reply-to message-id references in-reply-to list-unsubscribe sender " +
K9MailLib.IDENTITY_HEADER + " " + K9MailLib.CHAT_HEADER + ")]"
)
}

View file

@ -698,7 +698,7 @@ class RealImapFolderTest {
verify(imapConnection).sendCommand(
"UID FETCH 1 (UID INTERNALDATE RFC822.SIZE BODY.PEEK[HEADER.FIELDS " +
"(date subject from content-type to cc reply-to message-id references in-reply-to list-unsubscribe " +
"X-K9mail-Identity Chat-Version)])",
"sender X-K9mail-Identity Chat-Version)])",
false
)
}