request capabilities temp

This commit is contained in:
yflory
2019-07-11 14:16:04 +02:00
parent df5090eaef
commit 6f1e281cf8
9 changed files with 166 additions and 2 deletions

View File

@@ -693,6 +693,10 @@ define([
pad.onConnectEvent = Util.mkEvent();
pad.onErrorEvent = Util.mkEvent();
pad.requestAccess = function (data, cb) {
postMessage("REQUEST_PAD_ACCESS", data, cb);
};
common.changePadPassword = function (Crypt, href, newPassword, edPublic, cb) {
if (!href) { return void cb({ error: 'EINVAL_HREF' }); }
var parsed = Hash.parsePadUrl(href);