Improve Settings -> OpenPGP to show available features

This commit is contained in:
the-djmaze 2022-01-24 16:47:53 +01:00
parent ce971de919
commit 8635771537
3 changed files with 16 additions and 7 deletions

View file

@ -168,7 +168,7 @@ export const PgpUserStore = new class {
* @returns {boolean}
*/
isSupported() {
return !!(window.openpgp || window.mailvelope);
return !!(window.openpgp || window.mailvelope || Settings.capa(Capa.GnuPG));
}
gnupgImportKey(key, callback) {