From ea79a138dc9d937b668008f6c63f6274ccb67357 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 17 Sep 2019 14:28:26 +0200 Subject: [PATCH] stuff --- Plugins/EditChannels/EditChannels.plugin.js | 4 ++-- Plugins/EditUsers/EditUsers.plugin.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Plugins/EditChannels/EditChannels.plugin.js b/Plugins/EditChannels/EditChannels.plugin.js index 3fd75353da..1b00900548 100644 --- a/Plugins/EditChannels/EditChannels.plugin.js +++ b/Plugins/EditChannels/EditChannels.plugin.js @@ -3,7 +3,7 @@ class EditChannels { getName () {return "EditChannels";} - getVersion () {return "4.0.1";} + getVersion () {return "4.0.2";} getAuthor () {return "DevilBro";} @@ -19,7 +19,7 @@ class EditChannels { this.patchModules = { "ChannelTextArea":"componentDidMount", "AuditLog":"componentDidMount", - "InviteCard":"componentDidMount", + "InviteCard":"render", "ChannelCategoryItem":["componentDidMount","componentDidUpdate"], "ChannelItem":["componentDidMount","componentDidUpdate"], "HeaderBar":["componentDidMount","componentDidUpdate"], diff --git a/Plugins/EditUsers/EditUsers.plugin.js b/Plugins/EditUsers/EditUsers.plugin.js index dd8da8ca1f..9ab45490f6 100644 --- a/Plugins/EditUsers/EditUsers.plugin.js +++ b/Plugins/EditUsers/EditUsers.plugin.js @@ -3,7 +3,7 @@ class EditUsers { getName () {return "EditUsers";} - getVersion () {return "3.5.5";} + getVersion () {return "3.5.8";} getAuthor () {return "DevilBro";} @@ -25,9 +25,9 @@ class EditUsers { "VoiceUser":["componentDidMount","componentDidUpdate"], "Account":["componentDidMount","componentDidUpdate"], "AuditLog":"componentDidMount", - "BannedCard":"componentDidMount", - "InviteCard":"componentDidMount", - "MemberCard":"componentDidMount", + "BannedCard":"render", + "InviteCard":"render", + "MemberCard":"render", "InvitationCard":"componentDidMount", "TypingUsers":"componentDidUpdate", "MessageUsername":["componentDidMount","componentDidUpdate"], @@ -598,7 +598,7 @@ class EditUsers { processInviteCard (instance, wrapper, returnvalue) { let invite = BDFDB.getReactValue(instance, "props.invite"); if (invite && invite.inviter && invite.guild) { - let username = wrapper.querySelector(BDFDB.dotCN.guildsettingsinviteusername); + let username = wrapper.querySelector(BDFDB.dotCN.username); if (username) { this.changeName2(invite.inviter, username, invite.guild.id); this.changeAvatar(invite.inviter, this.getAvatarDiv(wrapper));