mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Update openpgpjs 0.3.0 -> 0.5.1 (#142)
This commit is contained in:
parent
1ed1efbe6c
commit
61a7a9c078
23 changed files with 160 additions and 228 deletions
|
|
@ -385,7 +385,7 @@ RainLoopApp.prototype.reloadOpenPgpKeys = function ()
|
|||
aKeys = [],
|
||||
oEmail = new EmailModel(),
|
||||
oOpenpgpKeyring = RL.data().openpgpKeyring,
|
||||
oOpenpgpKeys = oOpenpgpKeyring ? oOpenpgpKeyring.keys : []
|
||||
oOpenpgpKeys = oOpenpgpKeyring ? oOpenpgpKeyring.getAllKeys() : []
|
||||
;
|
||||
|
||||
_.each(oOpenpgpKeys, function (oItem, iIndex) {
|
||||
|
|
@ -1035,7 +1035,7 @@ RainLoopApp.prototype.bootstart = function ()
|
|||
'success': function () {
|
||||
if (window.openpgp)
|
||||
{
|
||||
RL.data().openpgpKeyring = new window.openpgp.Keyring(new OpenPgpLocalStorageDriver());
|
||||
RL.data().openpgpKeyring = new window.openpgp.Keyring();
|
||||
RL.data().allowOpenPGP(true);
|
||||
|
||||
RL.pub('openpgp.init');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue