ShowHiddenChannels: Fix patch

This commit is contained in:
Nuckyz 2024-05-31 23:41:38 -03:00
parent d07e4c71b5
commit aa7eb77050
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
2 changed files with 4 additions and 4 deletions

View file

@ -16,9 +16,8 @@ export default definePlugin({
{
find: '"call_ringing_beat"',
replacement: {
// FIXME Remove === alternative when it hits stable
match: /500(!==|===)\i\(\)\.random\(1,1e3\)/,
replace: (_, predicate) => predicate === "!==" ? "false" : "true",
match: /500!==\i\(\)\.random\(1,1e3\)/,
replace: "false",
}
},
],