mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
OpenPGP (Compose) (#53) UNSTABLE
This commit is contained in:
parent
2bf7c2e033
commit
67b5a72a71
22 changed files with 496 additions and 247 deletions
|
|
@ -324,7 +324,7 @@ RainLoopApp.prototype.folders = function (fCallback)
|
|||
|
||||
RainLoopApp.prototype.reloadOpenPgpKeys = function ()
|
||||
{
|
||||
if (Globals.bAllowOpenPGP)
|
||||
if (RL.data().allowOpenPGP())
|
||||
{
|
||||
var
|
||||
aKeys = [],
|
||||
|
|
@ -963,8 +963,8 @@ RainLoopApp.prototype.bootstart = function ()
|
|||
if (window.openpgp)
|
||||
{
|
||||
RL.data().openpgpKeyring = new window.openpgp.Keyring(new OpenPgpLocalStorageDriver());
|
||||
|
||||
Globals.bAllowOpenPGP = true;
|
||||
RL.data().allowOpenPGP(true);
|
||||
|
||||
RL.pub('openpgp.init');
|
||||
|
||||
RL.reloadOpenPgpKeys();
|
||||
|
|
@ -974,7 +974,7 @@ RainLoopApp.prototype.bootstart = function ()
|
|||
}
|
||||
else
|
||||
{
|
||||
Globals.bAllowOpenPGP = false;
|
||||
RL.data().allowOpenPGP(false);
|
||||
}
|
||||
|
||||
kn.startScreens([MailBoxScreen, SettingsScreen]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue