mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-04 22:56:24 +00:00
fix(mail): validate IMAP ACL compliance on main mail account
This commit is contained in:
@@ -29,10 +29,11 @@
|
||||
|
||||
- (BOOL) conformsToRFC4314
|
||||
{
|
||||
if ([[self clientObject] respondsToSelector: @selector(mailAccountFolder)])
|
||||
return ([[[self clientObject] mailAccountFolder] imapAclStyle] == rfc4314);
|
||||
SOGoMailAccount *account;
|
||||
|
||||
return NO;
|
||||
account = [[self clientObject] lookupName: @"0" inContext: context acquire: NO];
|
||||
|
||||
return ([account imapAclStyle] == rfc4314);
|
||||
}
|
||||
|
||||
- (void) setUserCanReadMails: (BOOL) userCanReadMails
|
||||
|
||||
Reference in New Issue
Block a user