From 99f4f77a90e50e84f9cc4bb43b7b1d1f27642a41 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 1 Jul 2020 15:10:03 +0200 Subject: [PATCH] Update MessageUtilities.plugin.js --- Plugins/MessageUtilities/MessageUtilities.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/MessageUtilities/MessageUtilities.plugin.js b/Plugins/MessageUtilities/MessageUtilities.plugin.js index d418c64838..8d8dbc51a5 100644 --- a/Plugins/MessageUtilities/MessageUtilities.plugin.js +++ b/Plugins/MessageUtilities/MessageUtilities.plugin.js @@ -202,7 +202,7 @@ var MessageUtilities = (_ => { let contextMenu = BDFDB.ReactUtils.findChild(e.instance, {props: "navId"}); if (contextMenu && BDFDB.ArrayUtils.is(contextMenu.props.children)) for (let group of contextMenu.props.children) { if (group && group.type == BDFDB.LibraryComponents.MenuItems.MenuGroup && BDFDB.ArrayUtils.is(group.props.children)) for (let item of group.props.children) { - if (item && item.props && item.props.id && !item.props.hint && (!item.props.children || BDFDB.ArrayUtils.is(item.props.children) && !item.props.children.length)) { + if (item && item.props && item.props.id && !item.props.hint && !item.props.children) { let hint, action; if (item.props.id == "mark-unread") hint = `${BDFDB.LibraryModules.KeyCodeUtils.getString(18)}+${clickMap[0]}`; else {