mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 22:05: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:
@@ -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