Fix Patches
This commit is contained in:
parent
a5ed19ab91
commit
a182162e08
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue