From 3e5ace7c9ee72096a69a49f32c0c5376574ccfc3 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 29 Jan 2024 18:01:02 +0100 Subject: [PATCH] lint compliance --- www/common/inner/access.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 9f7065ed9..22d176fac 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -692,7 +692,7 @@ define([ dataToAdd.forEach(function(mailbox) { if (mailbox.notifications && mailbox.curvePublic) { common.mailbox.sendTo("ADD_TO_ACCESS_LIST", { - channel: channel, + channel: data.channel || priv.channel, }, { channel: mailbox.notifications, curvePublic: mailbox.curvePublic @@ -700,7 +700,7 @@ define([ } else { return; } - }) + }); if (err) { waitFor.abort();