mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-18 18:05:36 +00:00
Monotone-Parent: 56874b8e1d2260289bbdde17c8dbc01a15f354e7
Monotone-Revision: d3036531db8d8c0e298e79e7bba85298dba88acd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-17T22:39:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
return flatContent;
|
||||
}
|
||||
|
||||
#warning we should use NSData+Mail's bodyDataFromEncoding: instead
|
||||
- (NSData *) decodedFlatContent
|
||||
{
|
||||
NSString *enc;
|
||||
@@ -128,7 +129,7 @@
|
||||
return [[self flatContent] dataByDecodingBase64];
|
||||
|
||||
if ([enc isEqualToString:@"quoted-printable"])
|
||||
return [[self flatContent] dataByDecodingQuotedPrintable];
|
||||
return [[self flatContent] dataByDecodingQuotedPrintableTransferEncoding];
|
||||
|
||||
[self errorWithFormat:@"unsupported MIME encoding: %@", enc];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user