Update EditUsers.plugin.js
This commit is contained in:
parent
a0a78ada1d
commit
e4b989ffd0
|
@ -2,7 +2,7 @@
|
||||||
* @name EditUsers
|
* @name EditUsers
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 4.3.4
|
* @version 4.3.5
|
||||||
* @description Allows you to locally edit Users
|
* @description Allows you to locally edit Users
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,12 +17,13 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "EditUsers",
|
"name": "EditUsers",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "4.3.4",
|
"version": "4.3.5",
|
||||||
"description": "Allows you to locally edit Users"
|
"description": "Allows you to locally edit Users"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
"fixed": {
|
"fixed": {
|
||||||
"User Popout": "Fixing Stuff for the User Popout Update, thanks Discord"
|
"User Popout": "Fixing Stuff for the User Popout Update, thanks Discord",
|
||||||
|
"User Profile": "Avatar and Banner fixed"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -117,6 +118,7 @@ module.exports = (_ => {
|
||||||
AutocompleteUserResult: "render",
|
AutocompleteUserResult: "render",
|
||||||
UserPopoutInfo: "UserPopoutInfo",
|
UserPopoutInfo: "UserPopoutInfo",
|
||||||
UserProfileModal: "default",
|
UserProfileModal: "default",
|
||||||
|
UserProfileModalHeader: "default",
|
||||||
UserInfo: "default",
|
UserInfo: "default",
|
||||||
NowPlayingItem: "default",
|
NowPlayingItem: "default",
|
||||||
VoiceUser: "render",
|
VoiceUser: "render",
|
||||||
|
@ -523,6 +525,10 @@ module.exports = (_ => {
|
||||||
if (e.instance.props.user && this.settings.places.userProfile) e.instance.props.user = this.getUserData(e.instance.props.user.id);
|
if (e.instance.props.user && this.settings.places.userProfile) e.instance.props.user = this.getUserData(e.instance.props.user.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processUserProfileModalHeader (e) {
|
||||||
|
if (e.instance.props.user && this.settings.places.userProfile) e.instance.props.user = this.getUserData(e.instance.props.user.id);
|
||||||
|
}
|
||||||
|
|
||||||
processMutualFriends (e) {
|
processMutualFriends (e) {
|
||||||
if (this.settings.places.mutualFriends) {
|
if (this.settings.places.mutualFriends) {
|
||||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "FriendRow"});
|
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "FriendRow"});
|
||||||
|
|
Loading…
Reference in New Issue