mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-29 10:17:35 +00:00
feat(preferences): Add user preferences to enable / disable signature for new mail, reply and forward
This commit is contained in:
@@ -109,6 +109,9 @@
|
||||
SOGoMailMessageForwarding = "inline";
|
||||
SOGoMailReplyPlacement = "below";
|
||||
SOGoMailSignaturePlacement = "below";
|
||||
SOGoMailUseSignatureOnNew = YES;
|
||||
SOGoMailUseSignatureOnReply = YES;
|
||||
SOGoMailUseSignatureOnForward = YES;
|
||||
SOGoRefreshViewIntervals = ( 1, 2, 5, 10, 20, 30, 60 );
|
||||
SOGoMailListViewColumnsOrder = ( "Thread", "Flagged", "Attachment", "Subject",
|
||||
"From", "Unread", "Date", "Priority",
|
||||
|
||||
@@ -175,6 +175,13 @@ extern NSString *SOGoPasswordRecoverySecondaryEmail;
|
||||
- (void) setMailSignaturePlacement: (NSString *) newValue;
|
||||
- (NSString *) mailSignaturePlacement;
|
||||
|
||||
- (BOOL)mailUseSignatureOnNew;
|
||||
- (void)setMailUseSignatureOnNew:(BOOL)newValue;
|
||||
- (BOOL)mailUseSignatureOnReply;
|
||||
- (void)setMailUseSignatureOnReply:(BOOL)newValue;
|
||||
- (BOOL)mailUseSignatureOnForward;
|
||||
- (void)setMailUseSignatureOnForward:(BOOL)newValue;
|
||||
|
||||
- (void) setAllowUserReceipt: (BOOL) allow;
|
||||
- (BOOL) allowUserReceipt;
|
||||
- (void) setUserReceiptNonRecipientAction: (NSString *) action;
|
||||
|
||||
@@ -707,6 +707,36 @@ NSString *SOGoPasswordRecoverySecondaryEmail = @"SecondaryEmail";
|
||||
return signaturePlacement;
|
||||
}
|
||||
|
||||
- (BOOL) mailUseSignatureOnNew
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailUseSignatureOnNew"];
|
||||
}
|
||||
|
||||
- (void) setMailUseSignatureOnNew: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailUseSignatureOnNew"];
|
||||
}
|
||||
|
||||
- (BOOL) mailUseSignatureOnReply
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailUseSignatureOnReply"];
|
||||
}
|
||||
|
||||
- (void) setMailUseSignatureOnReply: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailUseSignatureOnReply"];
|
||||
}
|
||||
|
||||
- (BOOL) mailUseSignatureOnForward
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailUseSignatureOnForward"];
|
||||
}
|
||||
|
||||
- (void) setMailUseSignatureOnForward: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailUseSignatureOnForward"];
|
||||
}
|
||||
|
||||
- (void) setAllowUserReceipt: (BOOL) allow
|
||||
{
|
||||
[self setBool: allow forKey: @"SOGoMailReceiptAllow"];
|
||||
|
||||
Reference in New Issue
Block a user