From df214e1e93bf7bc6c7b768df75f10f764a41ff13 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 6 Oct 2023 18:01:19 +0200 Subject: chore: remove legacy code --- src/plugins/fakeNitro/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/fakeNitro') diff --git a/src/plugins/fakeNitro/index.ts b/src/plugins/fakeNitro/index.ts index 07191e1..a11a43d 100644 --- a/src/plugins/fakeNitro/index.ts +++ b/src/plugins/fakeNitro/index.ts @@ -222,8 +222,7 @@ export default definePlugin({ predicate: () => settings.store.enableStreamQualityBypass, replacement: [ "canUseHighVideoUploadQuality", - // TODO: Remove the last two when they get removed from stable - "(?:canStreamQuality|canStreamHighQuality|canStreamMidQuality)", + "canStreamQuality", ].map(func => { return { match: new RegExp(`${func}:function\\(\\i(?:,\\i)?\\){`, "g"), -- cgit