mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-27 21:15:44 +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 parent
2826c83fc5
commit
fc4f5d2161
12 files changed
+77
-30
No files matched your search
@@ -74,6 +74,10 @@
|
||||
}
|
||||
};
|
||||
|
||||
this.hasDefaultIdentity = function() {
|
||||
return _.findIndex(this.account.identities, function(identity) { return !!identity.isDefault; }) >= 0;
|
||||
};
|
||||
|
||||
this.setDefaultIdentity = function ($event, $index) {
|
||||
_.forEach(this.account.identities, function(identity, i) {
|
||||
if (i == $index)
|
||||
|
||||
Reference in new issue
Block a user