This commit is contained in:
Nuckyz 2023-09-12 05:10:44 -03:00
parent 4222c7fd9f
commit f23ddf4cae
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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;"
};
})