This commit is contained in:
Mirco Wittrien 2021-06-09 20:46:48 +02:00
parent 97d40e991a
commit 1b68103b1e
2 changed files with 6 additions and 8 deletions

View File

@ -163,8 +163,7 @@
"InviteCard": "InviteRow", "InviteCard": "InviteRow",
"MemberCard": "Member", "MemberCard": "Member",
"PopoutContainer": "Popout", "PopoutContainer": "Popout",
"QuickSwitchResult": "Result", "QuickSwitchResult": "Result"
"UserProfile": "UserProfileBody"
}, },
"ForceObserve": [ "ForceObserve": [
"DirectMessage", "DirectMessage",
@ -244,7 +243,6 @@
"Upload": {"class": "uploadmodal"}, "Upload": {"class": "uploadmodal"},
"UserHook": {"class": "auditloguserhook"}, "UserHook": {"class": "auditloguserhook"},
"UserPopout": {"class": "userpopout"}, "UserPopout": {"class": "userpopout"},
"UserProfile": {"class": "userprofile"},
"UserSettingsAppearance": {"class": "usersettingsappearancepreview"}, "UserSettingsAppearance": {"class": "usersettingsappearancepreview"},
"V2C_ContentColumn": {"class": "settingswindowcontentcolumn", "special": [{"path": "return.stateNode.props.title", "value": ["PLUGINS", "THEMES"]}]} "V2C_ContentColumn": {"class": "settingswindowcontentcolumn", "special": [{"path": "return.stateNode.props.title", "value": ["PLUGINS", "THEMES"]}]}
}, },

View File

@ -2,7 +2,7 @@
* @name EditUsers * @name EditUsers
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 4.2.8 * @version 4.2.9
* @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,12 @@ module.exports = (_ => {
"info": { "info": {
"name": "EditUsers", "name": "EditUsers",
"author": "DevilBro", "author": "DevilBro",
"version": "4.2.8", "version": "4.2.9",
"description": "Allows you to locally edit Users" "description": "Allows you to locally edit Users"
}, },
"changeLog": { "changeLog": {
"improved": { "improved": {
"New User Popout": "Fixed for the new User Popout, which will be released soon-ish, again and again and again, stop changing Stuff Discord, STOOOOOOOOOOOOOOOOOOOOP JESUS" "New User Profile Modal": "Fixed for the new User Profile"
} }
} }
}; };
@ -107,7 +107,7 @@ module.exports = (_ => {
ChannelEditorContainer: "render", ChannelEditorContainer: "render",
AutocompleteUserResult: "render", AutocompleteUserResult: "render",
UserPopout: "render", UserPopout: "render",
UserProfile: "render", UserProfileModal: "default",
UserInfo: "default", UserInfo: "default",
NowPlayingHeader: "Header", NowPlayingHeader: "Header",
VoiceUser: "render", VoiceUser: "render",
@ -523,7 +523,7 @@ module.exports = (_ => {
} }
} }
processUserProfile (e) { processUserProfileModal (e) {
if (e.instance.props.user && this.settings.places.userProfile) { if (e.instance.props.user && this.settings.places.userProfile) {
e.instance.props.user = this.getUserData(e.instance.props.user.id); e.instance.props.user = this.getUserData(e.instance.props.user.id);
let data = changedUsers[e.instance.props.user.id]; let data = changedUsers[e.instance.props.user.id];