Merge pull request #7008 from thundernest/consistent_reply_behavior

Fetch `List-Post` header when downloading partial message
This commit is contained in:
cketti 2023-06-20 16:42:14 +02:00 committed by GitHub
commit 774d95d4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

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

View file

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