Update PinDMs.plugin.js

This commit is contained in:
Mirco Wittrien 2022-02-11 14:43:33 +01:00
parent 69afcc3fbe
commit 1dfde3fd0e
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ module.exports = (_ => {
}
_processPrivateChannel (instance, returnvalue, category) {
const interactive = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.namecontainerinteractive]]});
const interactive = BDFDB.ReactUtils.findChild(returnvalue, {props: [["className", BDFDB.disCN.namecontainerinteractive]]});
if (!interactive) return;
interactive.props.children.splice(interactive.props.children.length == 1 ? 1 : -1, 0, BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, {
text: BDFDB.LanguageUtils.LanguageStrings.UNPIN,