mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 20:06:30 +03:00
feat: remove workaround for old filtermail
Filtermail fix <https://github.com/chatmail/relay/pull/497> was merged more than a year ago.
This commit is contained in:
@@ -1939,11 +1939,6 @@ pub(crate) fn render_outer_message(
|
|||||||
/// Takes the encrypted part, wraps it in a MimePart,
|
/// Takes the encrypted part, wraps it in a MimePart,
|
||||||
/// and sets the appropriate Content-Type for the outer message
|
/// and sets the appropriate Content-Type for the outer message
|
||||||
pub(crate) fn wrap_encrypted_part(encrypted: String) -> MimePart<'static> {
|
pub(crate) fn wrap_encrypted_part(encrypted: String) -> MimePart<'static> {
|
||||||
// XXX: additional newline is needed
|
|
||||||
// to pass filtermail at
|
|
||||||
// <https://github.com/deltachat/chatmail/blob/4d915f9800435bf13057d41af8d708abd34dbfa8/chatmaild/src/chatmaild/filtermail.py#L84-L86>:
|
|
||||||
let encrypted = encrypted + "\n";
|
|
||||||
|
|
||||||
MimePart::new(
|
MimePart::new(
|
||||||
"multipart/encrypted; protocol=\"application/pgp-encrypted\"",
|
"multipart/encrypted; protocol=\"application/pgp-encrypted\"",
|
||||||
vec![
|
vec![
|
||||||
|
|||||||
Reference in New Issue
Block a user