Monotone-Parent: fb60412527e7f4014c210dfce058ab3223d60fe5

Monotone-Revision: 674bbd16be4ce1133323d0c35052d5499b13b161

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-01T18:46:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-08-01 18:46:43 +00:00
parent 8868e45882
commit cbf15e2ac5
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -1,5 +1,10 @@
2007-08-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailBaseObject.m ([SOGoMailBaseObject
-imap4URLString]): invoke -relativeImap4Name instead of
"nameInContainer" since the former will return the fixed IMAP4
foldername and the latter the SoObject name.
* SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject
+initialize]): we now fetch the "BODYSTRUCTURE" key instead of "BODY".
+4 -4
View File
@@ -142,9 +142,11 @@ static BOOL debugOn = YES;
- (NSMutableString *) imap4URLString
{
NSMutableString *urlString;
NSString *imap4Name;
urlString = [container imap4URLString];
[urlString appendFormat: @"%@/", [nameInContainer stringByEscapingURL]];
imap4Name = [[self relativeImap4Name] stringByEscapingURL];
[urlString appendFormat: @"%@/", imap4Name];
return urlString;
}
@@ -154,9 +156,7 @@ static BOOL debugOn = YES;
/* this could probably be handled better from NSURL but it's buggy in
GNUstep */
if (!imap4URL)
{
imap4URL = [[NSURL alloc] initWithString: [self imap4URLString]];
}
imap4URL = [[NSURL alloc] initWithString: [self imap4URLString]];
return imap4URL;
}