Fix Patches

This commit is contained in:
thororen1234 2025-10-15 20:54:50 -04:00
parent a5ed19ab91
commit a182162e08
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -38,8 +38,8 @@ export default definePlugin({
},
// define isTyping earlier in the function so i dont bReAk ThE rUlEs Of HoOkS
{
match: /(clearTimeout\(\i\)};)if\(null==\i\)return null;/,
replace: "$1 let vcIsTyping = $self.isTyping();"
match: /if\(null==\i\)return null;/,
replace: "let vcIsTyping = $self.isTyping();$&"
}
],
group: true

View file

@ -1220,7 +1220,7 @@ export default definePlugin({
// DM button highlight logic while the Quest button is visible.
find: "GLOBAL_DISCOVERY),",
replacement: {
match: /(pathname:(\i)}.{0,250}?return )/,
match: /((\i)!==\i\.\i\.ME_ACTIVITY;return )/,
replace: "$1$self.disguiseHomeButton($2)?false:"
}
}