This commit is contained in:
Mirco Wittrien 2019-09-17 14:28:26 +02:00
parent 86e4eae335
commit ea79a138dc
2 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
class EditChannels { class EditChannels {
getName () {return "EditChannels";} getName () {return "EditChannels";}
getVersion () {return "4.0.1";} getVersion () {return "4.0.2";}
getAuthor () {return "DevilBro";} getAuthor () {return "DevilBro";}
@ -19,7 +19,7 @@ class EditChannels {
this.patchModules = { this.patchModules = {
"ChannelTextArea":"componentDidMount", "ChannelTextArea":"componentDidMount",
"AuditLog":"componentDidMount", "AuditLog":"componentDidMount",
"InviteCard":"componentDidMount", "InviteCard":"render",
"ChannelCategoryItem":["componentDidMount","componentDidUpdate"], "ChannelCategoryItem":["componentDidMount","componentDidUpdate"],
"ChannelItem":["componentDidMount","componentDidUpdate"], "ChannelItem":["componentDidMount","componentDidUpdate"],
"HeaderBar":["componentDidMount","componentDidUpdate"], "HeaderBar":["componentDidMount","componentDidUpdate"],

View File

@ -3,7 +3,7 @@
class EditUsers { class EditUsers {
getName () {return "EditUsers";} getName () {return "EditUsers";}
getVersion () {return "3.5.5";} getVersion () {return "3.5.8";}
getAuthor () {return "DevilBro";} getAuthor () {return "DevilBro";}
@ -25,9 +25,9 @@ class EditUsers {
"VoiceUser":["componentDidMount","componentDidUpdate"], "VoiceUser":["componentDidMount","componentDidUpdate"],
"Account":["componentDidMount","componentDidUpdate"], "Account":["componentDidMount","componentDidUpdate"],
"AuditLog":"componentDidMount", "AuditLog":"componentDidMount",
"BannedCard":"componentDidMount", "BannedCard":"render",
"InviteCard":"componentDidMount", "InviteCard":"render",
"MemberCard":"componentDidMount", "MemberCard":"render",
"InvitationCard":"componentDidMount", "InvitationCard":"componentDidMount",
"TypingUsers":"componentDidUpdate", "TypingUsers":"componentDidUpdate",
"MessageUsername":["componentDidMount","componentDidUpdate"], "MessageUsername":["componentDidMount","componentDidUpdate"],
@ -598,7 +598,7 @@ class EditUsers {
processInviteCard (instance, wrapper, returnvalue) { processInviteCard (instance, wrapper, returnvalue) {
let invite = BDFDB.getReactValue(instance, "props.invite"); let invite = BDFDB.getReactValue(instance, "props.invite");
if (invite && invite.inviter && invite.guild) { if (invite && invite.inviter && invite.guild) {
let username = wrapper.querySelector(BDFDB.dotCN.guildsettingsinviteusername); let username = wrapper.querySelector(BDFDB.dotCN.username);
if (username) { if (username) {
this.changeName2(invite.inviter, username, invite.guild.id); this.changeName2(invite.inviter, username, invite.guild.id);
this.changeAvatar(invite.inviter, this.getAvatarDiv(wrapper)); this.changeAvatar(invite.inviter, this.getAvatarDiv(wrapper));