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

Commit 6762b2c4 authored by cketti's avatar cketti
Browse files

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

parent 9cb6859a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 + ")]"
            )
        }
+1 −1
Original line number Diff line number Diff line
@@ -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
        )
    }