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:
Francis Lachapelle
2021-01-14 15:13:27 -05:00
parent 2826c83fc5
commit fc4f5d2161
12 changed files with 77 additions and 30 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright (C) 2006-2020 Inverse inc.
Copyright (C) 2006-2021 Inverse inc.
This file is part of SOGo.
@@ -884,6 +884,9 @@
[mailAccount setObject: identities forKey: @"identities"];
[identities release];
if ([_defaults mailForceDefaultIdentity])
[mailAccount setObject: [NSNumber numberWithBool: YES] forKey: @"forceDefaultIdentity"];
// 6. Receipts
if ([_defaults allowUserReceipt])
{