Skip to content

Commit

Permalink
fix(mail): Fix Exception when using delegated identities. Closes #5951
Browse files Browse the repository at this point in the history
  • Loading branch information
WoodySlum committed Apr 10, 2024
1 parent d9ee884 commit f8c354c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions SoObjects/SOGo/SOGoUser.h
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions SoObjects/SOGo/SOGoUser.m
Expand Up @@ -1034,6 +1034,11 @@ - (NSArray *) mailAccountsNoRawHtmlSignature
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;
Expand Down

0 comments on commit f8c354c

Please sign in to comment.