mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix H being undefined
This commit is contained in:
parent
abec516c9c
commit
30f2a022fe
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ export default definePlugin({
|
|||
{
|
||||
find: '"self-stream-hide"',
|
||||
replacement: {
|
||||
match: /return \i?(.*?onConfirm:\(\)=>(\i\(!\i\)))/,
|
||||
replace: "return $2$1"
|
||||
match: /return (\i)?(.*?onConfirm:\(\)=>((\i)\(!\i\)))/,
|
||||
replace: "let $4 = null; if ($4 !== null) return $3; return $1$2"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue