From 7cf994ab7b70bb457c82893130cc20b6bfaf0b55 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 2 Sep 2022 11:18:50 +0200 Subject: [PATCH] Update EditUsers.plugin.js --- Plugins/EditUsers/EditUsers.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/EditUsers/EditUsers.plugin.js b/Plugins/EditUsers/EditUsers.plugin.js index 619af9353d..9bba450f60 100644 --- a/Plugins/EditUsers/EditUsers.plugin.js +++ b/Plugins/EditUsers/EditUsers.plugin.js @@ -2,7 +2,7 @@ * @name EditUsers * @author DevilBro * @authorId 278543574059057154 - * @version 4.6.4 + * @version 4.6.5 * @description Allows you to locally edit Users * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -511,7 +511,7 @@ module.exports = (_ => { processHeaderBarContainer (e) { let channel = BDFDB.LibraryModules.ChannelStore.getChannel(e.instance.props.channelId); if (channel && channel.isDM() && this.settings.places.dmHeader) { - let userName = BDFDB.ReactUtils.findChild(e.instance, {name: "Title"}); + let userName = BDFDB.ReactUtils.findChild(e.instance, {props: [["className", BDFDB.disCN.channelheadercursorpointer]]}); if (userName) { let recipientId = channel.getRecipientId(); userName.props.children = this.getUserData(recipientId).username;