mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-25 16:12:44 +00:00
Monotone-Parent: b0613f483a296b882038d9d023bcb71c82d4916e
Monotone-Revision: 0811b557e4a5f5fb3a026bfc3e9578e656e1d32b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-26T19:02:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -271,6 +271,13 @@
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (id) lookupAttachment: (NSString *) childKey
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (int) getAttachment: (MAPIStoreAttachment **) attachmentPtr
|
||||
withAID: (uint32_t) aid
|
||||
{
|
||||
@@ -282,7 +289,7 @@
|
||||
andSortOrderings: nil];
|
||||
if (aid < [keys count])
|
||||
{
|
||||
attachment = [self lookupChild: [keys objectAtIndex: aid]];
|
||||
attachment = [self lookupAttachment: [keys objectAtIndex: aid]];
|
||||
if (attachment)
|
||||
{
|
||||
*attachmentPtr = attachment;
|
||||
|
||||
Reference in New Issue
Block a user