mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
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:
@@ -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".
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user