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:
Wolfgang Sourdeau
2011-03-31 22:05:55 +00:00
parent 7534ab9204
commit 6697ac9618

View File

@@ -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;
}