fix(plugin): fix stream quality bypass in nitroBypass (#57)

This commit is contained in:
reflexguru 2022-10-06 17:33:30 +03:00 committed by GitHub
parent 74c3930e0a
commit 175c1a78f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,9 @@ export default definePlugin({
replacement: [ replacement: [
"canUseAnimatedEmojis", "canUseAnimatedEmojis",
"canUseEmojisEverywhere", "canUseEmojisEverywhere",
"canUseHigherFramerate" "canUseHighVideoQuality",
"canStreamHighQuality",
"canStreamMidQuality"
].map(func => { ].map(func => {
return { return {
match: new RegExp(`${func}:function\\(.+?}`), match: new RegExp(`${func}:function\\(.+?}`),