mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-25 16:12:44 +00:00
Monotone-Parent: 0bb415c672cf6fa29a94c71cfade196c42eeb58a
Monotone-Revision: dc1a04dbd8c664b75c03181a48283724ed5866b2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-15T20:22:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -85,6 +85,14 @@ static Class NSExceptionK, MAPIStoreSentItemsFolderK, MAPIStoreDraftsFolderK;
|
||||
MAPIStoreDraftsFolderK = [MAPIStoreDraftsFolder class];
|
||||
}
|
||||
|
||||
- (id) init
|
||||
{
|
||||
if ((self = [super init]))
|
||||
fetchedAttachments = NO;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (int) getPrIconIndex: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
@@ -786,15 +794,15 @@ static Class NSExceptionK, MAPIStoreSentItemsFolderK, MAPIStoreDraftsFolderK;
|
||||
- (NSArray *) childKeysMatchingQualifier: (EOQualifier *) qualifier
|
||||
andSortOrderings: (NSArray *) sortOrderings
|
||||
{
|
||||
if (!attachmentKeys)
|
||||
if (!fetchedAttachments)
|
||||
{
|
||||
attachmentKeys = [NSMutableArray new];
|
||||
attachmentParts = [NSMutableDictionary new];
|
||||
[self _fetchAttachmentPartsInBodyInfo: [sogoObject bodyStructure]
|
||||
withPrefix: @""];
|
||||
fetchedAttachments = YES;
|
||||
}
|
||||
|
||||
return attachmentKeys;
|
||||
return [super childKeysMatchingQualifier: qualifier
|
||||
andSortOrderings: sortOrderings];
|
||||
}
|
||||
|
||||
- (id) lookupChild: (NSString *) childKey
|
||||
|
||||
Reference in New Issue
Block a user