mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 18:15:26 +00:00
Monotone-Parent: eebb10325c95cf3524a8521ef34f3a6f10e91cf7
Monotone-Revision: a92e511f060bf8edffe8e0c8bfe66d20ee35d18e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T14:46:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
2010-12-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreContext.m
|
||||
(-createMessageOfClass:inFolderAtURL:): renamed from
|
||||
"-createMessageInFolder:", taking an additional message class
|
||||
parameter that enables the subclasses to accept or deny a message
|
||||
creation.
|
||||
|
||||
* OpenChange/EOQualifier+MAPIFS.m (-evaluateMAPIFSMessage:): added
|
||||
logging for debugging.
|
||||
logging for easier debugging.
|
||||
|
||||
* OpenChange/MAPIStoreSentItemsContext.[hm]: class is now derived
|
||||
from MAPIStoreMailContext and set up its module folder to the
|
||||
|
||||
@@ -24,18 +24,13 @@
|
||||
|
||||
#import <NGObjWeb/WOContext+SoObjects.h>
|
||||
|
||||
#import <SOGo/SOGoUserFolder.h>
|
||||
|
||||
#import <Mailer/SOGoDraftsFolder.h>
|
||||
#import <Mailer/SOGoMailAccount.h>
|
||||
#import <Mailer/SOGoMailAccounts.h>
|
||||
#import <Mailer/SOGoMailFolder.h>
|
||||
|
||||
#import "MAPIApplication.h"
|
||||
#import "MAPIStoreAuthenticator.h"
|
||||
#import "MAPIStoreMapping.h"
|
||||
#import "MAPIStoreTypes.h"
|
||||
|
||||
#import "NSData+MAPIStore.h"
|
||||
|
||||
#import "MAPIStoreOutboxContext.h"
|
||||
|
||||
@@ -86,30 +81,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (id) createMessageInFolder: (id) parentFolder
|
||||
- (id) createMessageOfClass: (NSString *) messageClass
|
||||
inFolderAtURL: (NSString *) folderURL;
|
||||
{
|
||||
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