Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 5cfd334f authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #6624 from thundernest/fetch_bcc_header

Fetch BCC header when only partially downloading a message
parents fbd11e98 2618664c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 + ")]"
            )
+2 −2
Original line number Diff line number Diff line
@@ -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
        )
    }