mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-13 12:15:23 +00:00
fix(mail): don't encode calendar mime part twice
SOPE will take care of encoding all text parts in quoted-printable if necessary. Fixes #5391 Fixes #5393
This commit is contained in:
1 parent
1c7200c90d
commit
2c62aafe70
1 file changed
+1
-3
@@ -765,10 +765,8 @@
|
||||
headerMap = [NGMutableHashMap hashMapWithCapacity: 3];
|
||||
[headerMap setObject: @"urn:content-classes:calendarmessage" forKey: @"Content-Class"];
|
||||
[headerMap setObject: header forKey: @"content-type"];
|
||||
[headerMap setObject: @"quoted-printable"
|
||||
forKey: @"content-transfer-encoding"];
|
||||
bodyPart = [NGMimeBodyPart bodyPartWithHeader: headerMap];
|
||||
[bodyPart setBody: [objectData dataByEncodingQuotedPrintable]];
|
||||
[bodyPart setBody: objectData];
|
||||
|
||||
return bodyPart;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user