mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-02 21:56:23 +00:00
Monotone-Parent: c2bdfbc593f7ac0758ee78b63baee4d5b409e6bd
Monotone-Revision: a297f80b93f195cc2534f1493b2f4e4a124cf3ca Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-10-26T21:33:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
#import "MAPIApplication.h"
|
||||
#import "MAPIStoreAppointmentWrapper.h"
|
||||
#import "MAPIStoreContext.h"
|
||||
#import "MAPIStoreDraftsMessage.h"
|
||||
// #import "MAPIStoreDraftsMessage.h"
|
||||
#import "MAPIStoreFAIMessage.h"
|
||||
#import "MAPIStoreMailMessageTable.h"
|
||||
#import "MAPIStoreMapping.h"
|
||||
@@ -59,7 +59,7 @@
|
||||
/* Those are parts of a hack that enables creating mails to IMAP folders from
|
||||
Exchange properties */
|
||||
#import "SOGoMAPIMemMessage.h"
|
||||
#import "MAPIStoreMemMailMessage.h"
|
||||
#import "MAPIStoreMailVolatileMessage.h"
|
||||
|
||||
#import "MAPIStoreMailFolder.h"
|
||||
|
||||
@@ -991,18 +991,17 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
/* FIXME: this method makes use of the hacky MAPIStoreMemMailMessage */
|
||||
- (MAPIStoreMessage *) createMessage
|
||||
{
|
||||
MAPIStoreDraftsMessage *newMessage;
|
||||
MAPIStoreMailVolatileMessage *newMessage;
|
||||
SOGoMAPIMemMessage *newObject;
|
||||
|
||||
newObject = [SOGoMAPIMemMessage
|
||||
objectWithName: [SOGoObject globallyUniqueObjectId]
|
||||
inContainer: sogoObject];
|
||||
newMessage
|
||||
= [MAPIStoreMemMailMessage mapiStoreObjectWithSOGoObject: newObject
|
||||
inContainer: self];
|
||||
= [MAPIStoreMailVolatileMessage mapiStoreObjectWithSOGoObject: newObject
|
||||
inContainer: self];
|
||||
|
||||
return newMessage;
|
||||
}
|
||||
@@ -1145,19 +1144,6 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
|
||||
return [accountFolder draftsFolderInContext: woContext];
|
||||
}
|
||||
|
||||
- (MAPIStoreMessage *) createMessage
|
||||
{
|
||||
MAPIStoreDraftsMessage *newMessage;
|
||||
SOGoDraftObject *newDraft;
|
||||
|
||||
newDraft = [sogoObject newDraft];
|
||||
newMessage
|
||||
= [MAPIStoreDraftsMessage mapiStoreObjectWithSOGoObject: newDraft
|
||||
inContainer: self];
|
||||
|
||||
return newMessage;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
// @implementation MAPIStoreDeletedItemsFolder : MAPIStoreMailFolder
|
||||
@@ -1182,17 +1168,4 @@ _parseCOPYUID (NSString *line, NSArray **destUIDsP)
|
||||
return [accountFolder draftsFolderInContext: woContext];
|
||||
}
|
||||
|
||||
- (MAPIStoreMessage *) createMessage
|
||||
{
|
||||
MAPIStoreDraftsMessage *newMessage;
|
||||
SOGoDraftObject *newDraft;
|
||||
|
||||
newDraft = [sogoObject newDraft];
|
||||
newMessage
|
||||
= [MAPIStoreDraftsMessage mapiStoreObjectWithSOGoObject: newDraft
|
||||
inContainer: self];
|
||||
|
||||
return newMessage;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user