From f6bbe70f3c2856b14bf0a6674c5a8d98145ed830 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 28 Oct 2019 17:40:26 +0100 Subject: [PATCH] Fix notification issue --- www/common/outer/mailbox-handlers.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/common/outer/mailbox-handlers.js b/www/common/outer/mailbox-handlers.js index 6fcdbc6cd..00f990eb3 100644 --- a/www/common/outer/mailbox-handlers.js +++ b/www/common/outer/mailbox-handlers.js @@ -439,14 +439,13 @@ define([ }); if (!teamId) { return void cb(true); } - var dismiss = false; try { var module = ctx.store.modules['team']; // changeMyRights returns true if we can't change our rights - dismiss = module.changeMyRights(teamId, content.state, content.teamData); + module.changeMyRights(teamId, content.state, content.teamData); } catch (e) { console.error(e); } - cb(dismiss); + cb(true); };