This commit is contained in:
Nuckyz 2023-09-12 05:10:44 -03:00
parent 4222c7fd9f
commit f23ddf4cae
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -220,7 +220,7 @@ export default definePlugin({
"(?:canStreamQuality|canStreamHighQuality|canStreamMidQuality)",
].map(func => {
return {
match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`),
match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`, "g"),
replace: "$&return true;"
};
})