fix(preferences): Fix NSException issue when SOGoCreateIdentitiesDisabled is set

This commit is contained in:
smizrahi
2023-06-20 09:04:01 +02:00
parent 8baa770681
commit eb42e1787c
2 changed files with 9 additions and 1 deletions

View File

@@ -833,6 +833,7 @@
{
// This additional identity should not appear in the identity manager of the Preferences
[identity setObject: [NSNumber numberWithBool: YES] forKey: @"isReadOnly"];
[identity setObject: [NSNumber numberWithBool: NO] forKey: @"isDefault"];
}
[identities addObject: identity];
}