diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 10e915520..d82b52d3f 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -1628,11 +1628,11 @@ define([ // data.send === true ==> send the request Store.requestPadAccess = function (clientId, data, cb) { var owner = data.owner; - var owners = data.owners; // If the owner was not is the pad metadata, check if it is a friend. // We'll contact the first owner for whom we know the mailbox /* // XXX check mailbox in our contacts is not compatible with the new "mute pad" feature + var owners = data.owners; if (!owner && Array.isArray(owners)) { var friends = store.proxy.friends || {}; // If we have friends, check if an owner is one of them (with a mailbox) diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index 4d2cd08f1..f5b0baeb4 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -1331,7 +1331,6 @@ define([ // Get and maybe migrate the existing mailbox object var owners = metadata.owners; if (!Array.isArray(owners) || owners.indexOf(edPublic) === -1) { - waitFor.abort(); return void cb({ error: 'INSUFFICIENT_PERMISSIONS' }); }