inline patch

This commit is contained in:
sadan 2024-07-10 22:33:36 -04:00
parent eed1c2b400
commit add443e67b
No known key found for this signature in database

View file

@ -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;
},
});