From 620995506eff61bd25fdc53d6802564f1c10da9a Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 19 Feb 2020 18:52:17 +0100 Subject: [PATCH] lint compliance --- www/common/outer/async-store.js | 2 +- www/common/sframe-common-outer.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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' }); }