mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
Monotone-Parent: ec5101d79c0732e3dfb2e3bf005b356548c65d58
Monotone-Revision: 18351673f3b02540c95a8695b70dd0067da408d5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-17T15:28:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
91d77156c4
commit
bad7450a84
2 files changed
+13
-2
No files matched your search
@@ -663,7 +663,7 @@ static BOOL debugSoParts = NO;
|
||||
if ([filename length])
|
||||
urlToPart = [NSString stringWithFormat: @"%@/%@", urlPrefix, filename];
|
||||
else
|
||||
urlToPart = nil;
|
||||
urlToPart = urlPrefix;
|
||||
|
||||
return urlToPart;
|
||||
}
|
||||
@@ -700,13 +700,17 @@ static BOOL debugSoParts = NO;
|
||||
- (NSDictionary *) fetchAttachmentIds
|
||||
{
|
||||
NSMutableDictionary *attachmentIds;
|
||||
NSString *prefix;
|
||||
|
||||
attachmentIds = [NSMutableDictionary dictionary];
|
||||
|
||||
[self fetchCoreInfos];
|
||||
prefix = [[self soURL] absoluteString];
|
||||
if ([prefix hasSuffix: @"/"])
|
||||
prefix = [prefix substringToIndex: [prefix length] - 1];
|
||||
[self _feedAttachmentIds: attachmentIds
|
||||
withInfos: [coreInfos objectForKey: @"body"]
|
||||
andPrefix: [[self soURL] absoluteString]];
|
||||
andPrefix: prefix];
|
||||
|
||||
return attachmentIds;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user