2004-10-27 Helge Hess <helge.hess@opengroupware.org>
+ * SOGoMailManager.m: added 'SOGoIMAP4StringSeparator' default to
+ configure to folder separator. Default is '/' instead of '.'
+ (v0.9.43)
+
* v0.9.42
* SOGoDraftObject.m: implements some SOGoMailObject methods
static BOOL debugKeys = NO;
static BOOL poolingOff = NO;
static NSTimeInterval PoolScanInterval = 5 * 60;
+static NSString *imap4Separator = nil;
+ (void)initialize {
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
if (debugOn) NSLog(@"Note: SOGoEnableIMAP4Debug is enabled!");
if (poolingOff) NSLog(@"WARNING: IMAP4 connection pooling is disabled!");
-
+
+ imap4Separator = [[ud stringForKey:@"SOGoIMAP4StringSeparator"] copy];
+ if ([imap4Separator length] == 0)
+ imap4Separator = @"/";
+ NSLog(@"Note: using '%@' as the IMAP4 folder separator.");
}
+ (id)defaultMailManager {
}
- (NSString *)imap4Separator {
- return @".";
+ return imap4Separator;
}
- (NSString *)imap4FolderNameForURL:(NSURL *)_url removeFileName:(BOOL)_delfn {