fix(mail): Fix Exception when using delegated identities. Closes #5951

This commit is contained in:
smizrahi
2024-04-10 17:18:03 +02:00
parent d9ee884459
commit f8c354c302
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -115,6 +115,7 @@
- (NSArray *) mailAccounts;
- (NSArray *) mailAccountsNoRawHtmlSignature;
- (NSArray *) mailAccountsWithDelegatedIdentities: (BOOL) appendDeletegatedIdentities;
- (NSArray *)mailAccountsWithDelegatedIdentities:(BOOL)appendDeletegatedIdentities forceRawHtmlSignature:(BOOL)forceRawHtmlSignature;
- (NSDictionary *) accountWithName: (NSString *) accountName;
- (NSArray *) allIdentities;
- (NSDictionary *) primaryIdentity;
+5
View File
@@ -1034,6 +1034,11 @@ static const NSString *kEncryptedUserNamePrefix = @"uenc";
return [self mailAccountsWithDelegatedIdentities: YES forceRawHtmlSignature: NO];
}
- (NSArray *) mailAccountsWithDelegatedIdentities: (BOOL) appendDeletegatedIdentities
{
return [self mailAccountsWithDelegatedIdentities: appendDeletegatedIdentities forceRawHtmlSignature: [[self domainDefaults] forceRawHtmlSignature]];
}
- (NSArray *) mailAccountsWithDelegatedIdentities: (BOOL) appendDeletegatedIdentities forceRawHtmlSignature: (BOOL) forceRawHtmlSignature
{
NSArray *auxAccounts;