mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
fix(preferences): Disable auxiliary mail accounts creation when SOGoCreateIdentitiesDisabled is enabled
This commit is contained in:
1 parent
a95f6c0799
commit
b666137a70
3 files changed
+18
-8
No files matched your search
@@ -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