fix(mail): use default signature when forcing default identity

This commit is contained in:
Francis Lachapelle committed 2021-05-25 14:17:12 -04:00
1 parent d4a0b25c06
commit dc81f70928
3 files changed
+21 -17

No files matched your search

+2 -2
View File
@@ -1309,8 +1309,8 @@ static NSArray *reminderValues = nil;
[target setObject: identities forKey: @"SOGoMailIdentities"];
if ([[account objectForKey: @"forceDefaultIdentity"] boolValue])
[target setObject: [NSNumber numberWithBool: YES] forKey: @"SOGoMailForceDefaultIdentity"];
else if ([target objectForKey: @"SOGoMailforceDefaultIdentity"])
[target removeObjectForKey: @"SOGoMailforceDefaultIdentity"];
else if ([target objectForKey: @"SOGoMailForceDefaultIdentity"])
[target removeObjectForKey: @"SOGoMailForceDefaultIdentity"];
[self _extractMainReceiptsPreferences: [account objectForKey: @"receipts"] inDictionary: target];
[self _extractMainSecurityPreferences: [account objectForKey: @"security"] inDictionary: target];
}