remove obsolete patch (moved to vencord) (#563)

This commit is contained in:
kaitlynkitty 2024-05-08 11:14:55 -04:00 committed by GitHub
parent d11a9a04ff
commit 944a699e83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,20 +63,6 @@ addPatch({
match: /this.localWant=/,
replace: "$self.patchStreamQuality(this);$&"
}
},
{
find: "x-google-max-bitrate",
replacement: [
{
// eslint-disable-next-line no-useless-escape
match: /"x-google-max-bitrate=".concat\(\i\)/,
replace: '"x-google-max-bitrate=".concat("80_000")'
},
{
match: /;level-asymmetry-allowed=1/,
replace: ";b=AS:800000;level-asymmetry-allowed=1"
}
]
}
],
patchStreamQuality(opts: any) {