SMYN: Fix patch. (#976)

This commit is contained in:
Etorix 2026-04-16 08:40:55 -07:00 • committed by GitHub
parent 913d5dfc98
commit 8e19aecd92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1139,7 +1139,7 @@ export default definePlugin({
// Attach the group ID to their messages to allow animating gradients within a group.
find: "CUSTOM_GIFT?\"\":",
replacement: {
match: /(isHovered:(\i).{0,1300}?\(\i,\i,\i\);)(let \i=\i.id===\i)/,
match: /(isHovered:(\i).{0,1300})(let \i=\i.id===\i,\i=)/,
replace: "$1arguments[0].message.showMeYourNameGroupId=!!arguments[0].groupId?`g-${arguments[0].groupId}`:null;$self.handleHoveringMessage(arguments[0].message,$2);$3"
},
},