Monotone-Parent: 7e21b29e298fa9a1baff1c52d0d806113ce623f4
Monotone-Revision: b925e538dfea6055e4cd41b6cd352fab2daa7217 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-16T16:54:57 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
1970894e04
commit
75bdb682b9
|
@ -417,23 +417,13 @@ static BOOL debugSoParts = NO;
|
||||||
_type = [_type lowercaseString];
|
_type = [_type lowercaseString];
|
||||||
_subtype = [_subtype lowercaseString];
|
_subtype = [_subtype lowercaseString];
|
||||||
|
|
||||||
if ([_type isEqualToString:@"text"]) {
|
return (([_type isEqualToString:@"text"]
|
||||||
if ([_subtype isEqualToString:@"plain"]
|
&& ([_subtype isEqualToString:@"plain"]
|
||||||
|| [_subtype isEqualToString:@"html"])
|
|| [_subtype isEqualToString:@"html"]
|
||||||
return YES;
|
|| [_subtype isEqualToString:@"calendar"]))
|
||||||
|
|| ([_type isEqualToString:@"application"]
|
||||||
if ([_subtype isEqualToString:@"calendar"]) /* we also fetch calendars */
|
&& ([_subtype isEqualToString:@"pgp-signature"]
|
||||||
return YES;
|
|| [_subtype hasPrefix:@"x-vnd.kolab."])));
|
||||||
}
|
|
||||||
|
|
||||||
if ([_type isEqualToString:@"application"]) {
|
|
||||||
if ([_subtype isEqualToString:@"pgp-signature"])
|
|
||||||
return YES;
|
|
||||||
if ([_subtype hasPrefix:@"x-vnd.kolab."])
|
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NO;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)addRequiredKeysOfStructure:(id)_info path:(NSString *)_p
|
- (void)addRequiredKeysOfStructure:(id)_info path:(NSString *)_p
|
||||||
|
@ -825,7 +815,7 @@ static BOOL debugSoParts = NO;
|
||||||
In case b) or c) fails, we can't do anything because IMAP4 doesn't tell us
|
In case b) or c) fails, we can't do anything because IMAP4 doesn't tell us
|
||||||
the ID used in the trash folder.
|
the ID used in the trash folder.
|
||||||
*/
|
*/
|
||||||
SOGoMailFolder *destFolder;
|
SOGoMailAccounts *destFolder;
|
||||||
NSEnumerator *folders;
|
NSEnumerator *folders;
|
||||||
NSString *currentFolderName, *reason;
|
NSString *currentFolderName, *reason;
|
||||||
NSException *error;
|
NSException *error;
|
||||||
|
|
Loading…
Reference in a new issue