mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
inline patch
This commit is contained in:
parent
eed1c2b400
commit
add443e67b
1 changed files with 2 additions and 4 deletions
|
@ -415,11 +415,9 @@ export default definePlugin({
|
|||
find: "renderPrioritySpeaker",
|
||||
replacement: {
|
||||
match: /(handleContextMenu".*?)(let)/,
|
||||
replace: "$1$self.patchVcListProps(this.props);$2"
|
||||
replace: "$1this.props.user.HangStatus=this.props.hangStatusActivity;$2"
|
||||
|
||||
}
|
||||
},
|
||||
],
|
||||
patchVcListProps(props){
|
||||
props.user.HangStatus = props.hangStatusActivity;
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue