diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 28dd2863b..6568ff83b 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -110,7 +110,8 @@ define([ })); }).nThen(function (waitFor) { var curve = $el.attr('data-curve'); - var friend = curve === user.curvePublic ? user : friends[curve]; + if (curve === user.curvePublic) { return; } + var friend = friends[curve]; if (!friend) { return; } common.mailbox.sendTo("RM_OWNER", { channel: channel,