mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-12 16:58:51 +00:00
Monotone-Parent: 81dcdd47102e86aa7051a10cbd7a7183b374d07a
Monotone-Revision: dcee22693d3a16ba20dcd9824bd2cfd39c0cf369 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-17T19:39:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#import "MAPIStoreMapping.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
|
||||
#import "NSData+MAPIStore.h"
|
||||
|
||||
#import "MAPIStoreOutboxContext.h"
|
||||
|
||||
@implementation MAPIStoreOutboxContext
|
||||
@@ -89,4 +91,25 @@
|
||||
return [moduleFolder newDraft];
|
||||
}
|
||||
|
||||
- (enum MAPISTATUS) getMessageTableChildproperty: (void **) data
|
||||
atURL: (NSString *) childURL
|
||||
withTag: (enum MAPITAGS) proptag
|
||||
inFolder: (SOGoFolder *) folder
|
||||
withFID: (uint64_t) fid
|
||||
{
|
||||
enum MAPISTATUS rc;
|
||||
|
||||
if (proptag == PR_CHANGE_KEY)
|
||||
{
|
||||
*data = [[@"openchangedraft" dataUsingEncoding: NSASCIIStringEncoding]
|
||||
asShortBinaryInMemCtx: memCtx];
|
||||
rc = MAPI_E_SUCCESS;
|
||||
}
|
||||
else
|
||||
rc = [super getMessageTableChildproperty: data atURL: childURL withTag:
|
||||
proptag inFolder: folder withFID: fid];
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user