Update EditUsers.plugin.js
This commit is contained in:
parent
3c46d7b7b9
commit
93260720c2
|
@ -158,7 +158,6 @@ module.exports = (_ => {
|
|||
VoiceUser: "render",
|
||||
Account: "render",
|
||||
PrivateChannelEmptyMessage: "default",
|
||||
MessageHeader: "default",
|
||||
MessageUsername: "default",
|
||||
MessageContent: "type",
|
||||
Reaction: "render",
|
||||
|
@ -1105,6 +1104,8 @@ module.exports = (_ => {
|
|||
if (data && data.name) userName.props.children = data.name;
|
||||
this.changeUserColor(userName, e.instance.props.result.user.id);
|
||||
}
|
||||
let avatar = BDFDB.ReactUtils.findChild(e.returnvalue, {props: [["className", BDFDB.disCN.searchpopoutdisplayavatar]]});
|
||||
if (avatar) avatar.props.src = this.getUserAvatar(e.instance.props.result.user.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue