Monotone-Parent: 6267e23d4a4d587847618923c35a202030ce9ed0

Monotone-Revision: 5244339e45ef9095573b10733228f85b81a17377

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-10-13T14:10:17
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-10-13 14:10:17 +00:00
1 parent 049be25681
commit 114e8bddc3
15 files changed
+32 -68

No files matched your search

+3 -8
View File
@@ -263,7 +263,7 @@ static BOOL showTextAttachmentsInline = NO;
if ([self _ensureDraftFolderPath])
{
infos = [NSMutableDictionary new];
infos = [NSMutableDictionary dictionary];
[infos setObject: headers forKey: @"headers"];
if (text)
[infos setObject: text forKey: @"text"];
@@ -287,8 +287,6 @@ static BOOL showTextAttachmentsInline = NO;
error = [NSException exceptionWithHTTPStatus:500 /* server error */
reason: @"could not write draft info!"];
}
[infos release];
}
else
{
@@ -470,13 +468,13 @@ static BOOL showTextAttachmentsInline = NO;
NSMutableArray *to, *addrs, *allRecipients;
NSArray *envelopeAddresses, *userEmails;
allRecipients = [NSMutableArray new];
allRecipients = [NSMutableArray array];
userEmails = [[context activeUser] allEmails];
[allRecipients addObjectsFromArray: userEmails];
to = [NSMutableArray arrayWithCapacity: 2];
addrs = [NSMutableArray new];
addrs = [NSMutableArray array];
envelopeAddresses = [_envelope replyTo];
if ([envelopeAddresses count])
[addrs setArray: envelopeAddresses];
@@ -530,9 +528,6 @@ static BOOL showTextAttachmentsInline = NO;
[to release];
}
[allRecipients release];
[addrs release];
}
- (NSArray *) _attachmentBodiesFromPaths: (NSArray *) paths