mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #1589
This commit is contained in:
parent
4ad25188b2
commit
4365892927
1 changed files with 3 additions and 4 deletions
|
|
@ -914,10 +914,9 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
oLastMessage.headers().valuesByName('autocrypt').forEach(value => {
|
||||
let autocrypt = new MimeHeaderAutocryptModel(value);
|
||||
if (autocrypt.addr && autocrypt.keydata) {
|
||||
PgpUserStore.hasPublicKeyForEmails([autocrypt.addr]).then(result =>
|
||||
result || PgpUserStore.importKey(autocrypt.pem(), true, true)
|
||||
// result || showScreenPopup(OpenPgpImportPopupView, [autocrypt.pem()])
|
||||
);
|
||||
PgpUserStore.hasPublicKeyForEmails([autocrypt.addr])
|
||||
|| PgpUserStore.importKey(autocrypt.pem(), true, true)
|
||||
// || showScreenPopup(OpenPgpImportPopupView, [autocrypt.pem()])
|
||||
}
|
||||
});
|
||||
} break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue