Fetch BCC header when only partially downloading a message
This commit is contained in:
parent
180626c739
commit
2618664c4f
2 changed files with 3 additions and 3 deletions
|
@ -537,7 +537,7 @@ internal class RealImapFolder(
|
|||
fetchFields.add("INTERNALDATE")
|
||||
fetchFields.add("RFC822.SIZE")
|
||||
fetchFields.add(
|
||||
"BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc " +
|
||||
"BODY.PEEK[HEADER.FIELDS (date subject from content-type to cc bcc " +
|
||||
"reply-to message-id references in-reply-to list-unsubscribe sender " +
|
||||
K9MailLib.IDENTITY_HEADER + " " + K9MailLib.CHAT_HEADER + ")]"
|
||||
)
|
||||
|
|
|
@ -697,8 +697,8 @@ 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 " +
|
||||
"sender X-K9mail-Identity Chat-Version)])",
|
||||
"(date subject from content-type to cc bcc reply-to message-id references in-reply-to " +
|
||||
"list-unsubscribe sender X-K9mail-Identity Chat-Version)])",
|
||||
false
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue