mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Disable Mailvelope "sign" message as it can't choose which key
This commit is contained in:
parent
c4ffcc708a
commit
398152be52
6 changed files with 22 additions and 17 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Capa } from 'Common/Enums';
|
||||
import { Settings } from 'Common/Globals';
|
||||
import { SettingsCapa } from 'Common/Globals';
|
||||
import { delegateRunOnDestroy } from 'Common/UtilsUser';
|
||||
|
||||
//import { EmailModel } from 'Model/Email';
|
||||
|
|
@ -34,7 +34,7 @@ export const GnuPGUserStore = new class {
|
|||
this.privateKeys = ko.observableArray();
|
||||
}
|
||||
|
||||
loadKeyrings(/*identifier*/) {
|
||||
loadKeyrings() {
|
||||
this.keyring = null;
|
||||
this.publicKeys([]);
|
||||
this.privateKeys([]);
|
||||
|
|
@ -104,7 +104,7 @@ export const GnuPGUserStore = new class {
|
|||
* @returns {boolean}
|
||||
*/
|
||||
isSupported() {
|
||||
return Settings.capa(Capa.GnuPG);
|
||||
return SettingsCapa(Capa.GnuPG);
|
||||
}
|
||||
|
||||
importKey(key, callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue