diff --git a/SoObjects/SOGo/SOGoUser.h b/SoObjects/SOGo/SOGoUser.h index 7460837ac..1b329a83e 100644 --- a/SoObjects/SOGo/SOGoUser.h +++ b/SoObjects/SOGo/SOGoUser.h @@ -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; diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index f7047bacc..9eed75357 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -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;