Move method fetchFileAttachmentKeys from category

Moved fetchFileAttachmentKeys from SOGoDraftObjectExtensions to
SOGoDraftObject. Renamed fetchAttachmentIds to fetchFileAttachmentIds
for consistency.
This commit is contained in:
Francis Lachapelle committed 2013-12-20 15:20:16 -05:00
1 parent 1f7994d1bf
commit dc21c723f6
5 files changed
+121 -120

No files matched your search

+2 -2
View File
@@ -839,7 +839,7 @@ static NSData* _sanitizeContent(NSData *theData)
createXMLReaderForMimeType: @"text/html"];
handler = [_UIxHTMLMailContentHandler new];
[handler setAttachmentIds: [mail fetchAttachmentIds]];
[handler setAttachmentIds: [mail fetchFileAttachmentIds]];
// We check if we got an unsupported charset. If so
// we convert everything to UTF-16{LE,BE} so it passes
@@ -947,7 +947,7 @@ static NSData* _sanitizeContent(NSData *theData)
encoding = @"us-ascii";
handler = [_UIxHTMLMailContentHandler new];
[handler setAttachmentIds: [mail fetchAttachmentIds]];
[handler setAttachmentIds: [mail fetchFileAttachmentIds]];
// We check if we got an unsupported charset. If so
// we convert everything to UTF-16{LE,BE} so it passes