Compare commits

...
4 changed files with 21 additions and 2 deletions

No files matched your search

+11
View File
@@ -2,6 +2,17 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [5.8.4](https://github.com/Alinto/sogo/compare/SOGo-5.8.3...SOGo-5.8.4) (2023-06-20)
### Bug Fixes
* **preferences:** Fix NSException issue when SOGoCreateIdentitiesDisabled is set ([ef958f6](https://github.com/Alinto/sogo/commit/ef958f6aaaa606eaa7c06c1edd3a93667b869d3b))
### Enhancements
* **packaging:** Add RHEL9 support
## [5.8.3](https://github.com/Alinto/sogo/compare/SOGo-5.8.2...SOGo-5.9.0) (2023-05-30)
+1
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];
}
+8 -1
View File
@@ -1348,6 +1348,7 @@ static NSArray *reminderValues = nil;
NSMutableArray *previousIdentities, *newIdentities;
NSMutableDictionary *identity, *newIdentitiesAsDict;
int i;
BOOL isDefault;
if ([account isKindOfClass: [NSDictionary class]])
{
@@ -1372,9 +1373,15 @@ static NSArray *reminderValues = nil;
// Remove existing deleted identities
for (identity in [user allIdentities]) {
// Identity deleted and at least one identity and not the default identity
if ([identity objectForKey:@"isDefault"]) {
isDefault = [[identity objectForKey:@"isDefault"] boolValue];
} else {
isDefault = NO;
}
if (![newIdentitiesAsDict objectForKey: [identity objectForKey:@"email"]]
&& [previousIdentities count] > 1
&& ![identity boolForKey:@"isDefault"]) {
&& !isDefault) {
[previousIdentities removeObjectAtIndex: i];
i--;
}
+1 -1
View File
@@ -1,3 +1,3 @@
MAJOR_VERSION=5
MINOR_VERSION=8
SUBMINOR_VERSION=3
SUBMINOR_VERSION=4