From a05015ad3cfc7e57b94e5383687c480964e4e816 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 28 Apr 2020 16:43:44 +0200 Subject: [PATCH] Display mention notification if you don't have access to the pad --- www/common/outer/mailbox-handlers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/www/common/outer/mailbox-handlers.js b/www/common/outer/mailbox-handlers.js index 841dadaf3..194d375d2 100644 --- a/www/common/outer/mailbox-handlers.js +++ b/www/common/outer/mailbox-handlers.js @@ -542,7 +542,6 @@ define([ var channel = content.channel; if (!channel) { return void cb(true); } var res = ctx.store.manager.findChannel(channel); - if (!res.length) { return void cb(true); } var title, href; // Check if the pad is in our drive @@ -596,8 +595,6 @@ define([ var channel = content.channel; if (!channel) { return void cb(true); } var res = ctx.store.manager.findChannel(channel); - console.log(res); - if (!res.length) { return void cb(true); } var title, href; // Check if the pad is in our drive