mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 17:57:38 +00:00
fix(preferences): Disable auxiliary mail accounts creation when SOGoCreateIdentitiesDisabled is enabled
This commit is contained in:
@@ -1807,4 +1807,12 @@ static NSArray *reminderValues = nil;
|
||||
return ![[SOGoSystemDefaults sharedSystemDefaults] isEasUIDisabled];
|
||||
}
|
||||
|
||||
- (BOOL) showCreateIdentity
|
||||
{
|
||||
SOGoDomainDefaults *dd;
|
||||
dd = [[context activeUser] domainDefaults];
|
||||
|
||||
return ![dd createIdentitiesDisabled];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user