See ChangeLog
Monotone-Parent: 3c4baa92c5634d4da061da739a9b544d04c44586 Monotone-Revision: b5d91e74f183ad54e2362119b25b4556f810e3b6 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-05-31T14:22:34
This commit is contained in:
parent
08230b33bb
commit
f2b455fffc
|
@ -6,6 +6,9 @@
|
||||||
of attributes to SOPE.
|
of attributes to SOPE.
|
||||||
* Added patch from bug #1608. This add many more password
|
* Added patch from bug #1608. This add many more password
|
||||||
schemes for SQL authentication.
|
schemes for SQL authentication.
|
||||||
|
* SoObject/Mailer/SOGoMailFolder.m (_readMailboxACL): we
|
||||||
|
now create the mailbox if we are trying to read ACL of
|
||||||
|
a deleted mailbox.
|
||||||
|
|
||||||
2012-05-29 Francis Lachapelle <flachapelle@inverse.ca>
|
2012-05-29 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
|
|
|
@ -1216,6 +1216,17 @@ static NSString *defaultUserID = @"anyone";
|
||||||
[mailboxACL release];
|
[mailboxACL release];
|
||||||
|
|
||||||
mailboxACL = [[self imap4Connection] aclForMailboxAtURL: [self imap4URL]];
|
mailboxACL = [[self imap4Connection] aclForMailboxAtURL: [self imap4URL]];
|
||||||
|
|
||||||
|
// If the mailbox doesn't exist, we create it. That could happen if
|
||||||
|
// a special mailbox (Drafts, Sent, Trash) is deleted from SOGo's web GUI
|
||||||
|
// or if any other mailbox is deleted behind SOGo's back.
|
||||||
|
if ([mailboxACL isKindOf: [NSException class]])
|
||||||
|
{
|
||||||
|
[[self imap4Connection] createMailbox: [[self imap4Connection] imap4FolderNameForURL: [self imap4URL]]
|
||||||
|
atURL: [[self mailAccountFolder] imap4URL]];
|
||||||
|
mailboxACL = [[self imap4Connection] aclForMailboxAtURL: [self imap4URL]];
|
||||||
|
}
|
||||||
|
|
||||||
[mailboxACL retain];
|
[mailboxACL retain];
|
||||||
|
|
||||||
[self _convertIMAPGroupnames];
|
[self _convertIMAPGroupnames];
|
||||||
|
|
Loading…
Reference in a new issue