mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
OpenPGP (Compose) (#53) UNSTABLE
This commit is contained in:
parent
b330f77bc0
commit
1c4ce1dfb2
14 changed files with 631 additions and 321 deletions
|
|
@ -98,7 +98,6 @@ function WebMailDataStorage()
|
|||
return bLoading || bCreating || bDeleting || bRenaming;
|
||||
}, this);
|
||||
|
||||
|
||||
this.foldersInboxUnreadCount = ko.observable(0);
|
||||
|
||||
this.currentFolder = ko.observable(null).extend({'toggleSubscribe': [null,
|
||||
|
|
@ -348,6 +347,18 @@ function WebMailDataStorage()
|
|||
this.openpgpkeys = ko.observableArray([]);
|
||||
this.openpgpKeyring = null;
|
||||
|
||||
this.openpgpkeysPublic = ko.computed(function () {
|
||||
return _.filter(this.openpgpkeys(), function (oItem) {
|
||||
return !!(oItem && !oItem.isPrivate);
|
||||
});
|
||||
}, this);
|
||||
|
||||
this.openpgpkeysPrivate = ko.computed(function () {
|
||||
return _.filter(this.openpgpkeys(), function (oItem) {
|
||||
return !!(oItem && oItem.isPrivate);
|
||||
});
|
||||
}, this);
|
||||
|
||||
// google
|
||||
this.googleActions = ko.observable(false);
|
||||
this.googleLoggined = ko.observable(false);
|
||||
|
|
@ -716,7 +727,6 @@ WebMailDataStorage.prototype.getNextFolderNames = function (bBoot)
|
|||
};
|
||||
|
||||
/**
|
||||
* @param {Function} fCallback
|
||||
* @param {string} sFromFolderFullNameRaw
|
||||
* @param {Array} aUidForRemove
|
||||
* @param {string=} sToFolderFullNameRaw = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue