Send a mailbox address (encrypted) to the owned pads metadata

This commit is contained in:
yflory
2019-07-17 17:01:25 +02:00
parent adef61672c
commit 51facff6fd
5 changed files with 86 additions and 29 deletions

View File

@@ -700,6 +700,10 @@ define([
postMessage("GIVE_PAD_ACCESS", data, cb);
};
common.getPadMetadata = function (data, cb) {
postMessage('GET_PAD_METADATA', data, cb);
};
common.changePadPassword = function (Crypt, href, newPassword, edPublic, cb) {
if (!href) { return void cb({ error: 'EINVAL_HREF' }); }
var parsed = Hash.parsePadUrl(href);