mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 02:15:36 +00:00
feat(mail): new option to force default identity
Users can now force the default identity to always be used when replying or forwarding a message.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* SOGoUserDefaults.m - this file is part of SOGo
|
||||
*
|
||||
* Copyright (C) 2009-2020 Inverse inc.
|
||||
* Copyright (C) 2009-2021 Inverse inc.
|
||||
*
|
||||
* This file is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -768,6 +768,16 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
return [self arrayForKey: @"SOGoMailIdentities"];
|
||||
}
|
||||
|
||||
- (void) setMailForceDefaultIdentity: (BOOL) newValue
|
||||
{
|
||||
[self setBool: newValue forKey: @"SOGoMailForceDefaultIdentity"];
|
||||
}
|
||||
|
||||
- (BOOL) mailForceDefaultIdentity
|
||||
{
|
||||
return [self boolForKey: @"SOGoMailForceDefaultIdentity"];
|
||||
}
|
||||
|
||||
- (void) setAuxiliaryMailAccounts: (NSArray *) newAccounts
|
||||
{
|
||||
[self setObject: newAccounts forKey: @"AuxiliaryMailAccounts"];
|
||||
|
||||
Reference in New Issue
Block a user