From 5bfe8c6d6c8a257478aa22f43b0ae4d2ea1ac04f Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 30 Jan 2020 16:38:45 +0100 Subject: [PATCH] Update BDFDB.js --- Plugins/BDFDB.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/BDFDB.js b/Plugins/BDFDB.js index cda497ac4d..7a832bee36 100644 --- a/Plugins/BDFDB.js +++ b/Plugins/BDFDB.js @@ -9838,7 +9838,7 @@ BDFDB.ModuleUtils.patch(BDFDB, BDFDB.ReactUtils.getValue(BDFDB.ModuleUtils.findByString("renderReactions", "canAddNewReactions", "showMoreUtilities", false), "exports.default"), "type", {after: e => { let [children, index] = BDFDB.ReactUtils.findChildren(e.returnValue, {filter: c => c && c.props && c.props.showMoreUtilities != undefined && c.props.showEmojiPicker != undefined && c.props.setPopout != undefined}); if (index > -1) BDFDB.ModuleUtils.patch(BDFDB, children[index], "type", {after: e2 => { - InternalBDFDB.executeExtraPatchedPatches("MessageOptionToolbar", {instance:{props:e.methodArguments[0]}, returnvalue:e2.returnValue, methodname:"default"}); + InternalBDFDB.executeExtraPatchedPatches("MessageOptionToolbar", {instance:{props:e2.methodArguments[0]}, returnvalue:e2.returnValue, methodname:"default"}); let [children2, index2] = BDFDB.ReactUtils.findChildren(e2.returnValue, {name: "Popout"}); if (index2 > -1 && typeof children2[index2].props.renderPopout == "function") { let renderPopout = children2[index2].props.renderPopout;