mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 04:19:35 +00:00
Monotone-Parent: 0cc4395b1707eacba015ff4c4d76225c0c3fbc0e
Monotone-Revision: 422ddfee6bdfec5c38432669ba25b9bd6724d6ab Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-03-31T22:05:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -178,13 +178,15 @@ e)
|
||||
|
||||
newAid = [attachmentKeys count];
|
||||
|
||||
newAttachment = [MAPIStoreDraftsAttachment new];
|
||||
newAttachment = [MAPIStoreDraftsAttachment
|
||||
mapiStoreObjectWithSOGoObject: nil
|
||||
inContainer: self];
|
||||
[newAttachment setIsNew: YES];
|
||||
[newAttachment setAID: newAid];
|
||||
newKey = [NSString stringWithFormat: @"%ul", newAid];
|
||||
[attachmentParts setObject: newAttachment
|
||||
forKey: newKey];
|
||||
[attachmentKeys addObject: newKey];
|
||||
[newAttachment release];
|
||||
|
||||
return newAttachment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user