See ChangeLog

Monotone-Parent: ec64b102b590c4a7b217fe508a46ad302e12adce
Monotone-Revision: 28a7f739364a5ec7c2076aea5f8a59c6910c4727

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-08-23T16:51:24
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2012-08-23 16:51:24 +00:00
parent c2b564df12
commit 6f0cc7502d
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2012-08-23 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/Mailer/SOGoMailFolder.m - added safety
checks around the ACL code so we don't crash if
we can't read the ACLs.
2012-08-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreFolder.m (-getPidTagAccessLevel)

View File

@ -1171,6 +1171,9 @@ static NSString *defaultUserID = @"anyone";
NSEnumerator *usernames;
NSString *username;
if ([mailboxACL isKindOfClass: [NSException class]])
return;
newIMAPAcls = [NSMutableDictionary new];
usernames = [[mailboxACL allKeys] objectEnumerator];
@ -1193,6 +1196,9 @@ static NSString *defaultUserID = @"anyone";
NSString *newUsername;
NSString *imapPrefix;
if ([mailboxACL isKindOfClass: [NSException class]])
return;
imapPrefix = [[[context activeUser] domainDefaults] imapAclGroupIdPrefix];
newIMAPAcls = [[NSMutableDictionary alloc] init];