mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
#89 support decrypting using Mailvelope
This commit is contained in:
parent
3aca446e8d
commit
d3b60bf097
39 changed files with 243 additions and 161 deletions
|
|
@ -385,27 +385,6 @@ export const PgpUserStore = new class {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an iframe to display the decrypted content of the encrypted mail.
|
||||
* The iframe will be injected into the container identified by selector.
|
||||
*/
|
||||
/*
|
||||
mailvelope.createDisplayContainer(selector, armored, this.mailvelopeKeyring, {senderAddress:''}).then(status => {
|
||||
if (status.error && status.error.message) {
|
||||
return error_handler(status.error);
|
||||
}
|
||||
|
||||
ref.hide_message(msgid);
|
||||
$(selector).children().not('iframe').hide();
|
||||
$(ref.gui_objects.messagebody).addClass('mailvelope');
|
||||
|
||||
// on success we can remove encrypted part from the attachments list
|
||||
if (ref.env.pgp_mime_part)
|
||||
$('#attach' + ref.env.pgp_mime_part).remove();
|
||||
|
||||
setTimeout(function() { $(window).resize(); }, 10);
|
||||
}, error_handler);
|
||||
*/
|
||||
/**
|
||||
* Creates an iframe with an editor for a new encrypted mail.
|
||||
* The iframe will be injected into the container identified by selector.
|
||||
|
|
@ -428,14 +407,6 @@ export const PgpUserStore = new class {
|
|||
}, error_handler)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Creates an iframe to display the keyring settings.
|
||||
* The iframe will be injected into the container identified by selector.
|
||||
*/
|
||||
/*
|
||||
mailvelope.createSettingsContainer(selector [, keyring], options)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Returns headers that should be added to an outgoing email.
|
||||
* So far this is only the autocrypt header.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue