diff --git a/src/equicordplugins/equibopStreamFixes.equibop/index.tsx b/src/equicordplugins/equibopStreamFixes.equibop/index.tsx index dca6d785b..fb9a99b3f 100644 --- a/src/equicordplugins/equibopStreamFixes.equibop/index.tsx +++ b/src/equicordplugins/equibopStreamFixes.equibop/index.tsx @@ -54,12 +54,6 @@ const settings = definePluginSettings({ default: true, restartNeeded: true, }, - preventLqDowngrade: { - type: OptionType.BOOLEAN, - description: "Prevent LQ simulcast downgrade during bandwidth dips", - default: true, - restartNeeded: true, - }, keyframeInterval: { type: OptionType.NUMBER, description: "Keyframe interval in ms (0 = encoder default, 5000 = every 5s)", @@ -134,6 +128,7 @@ export default definePlugin({ }, ], predicate: () => settings.store.unlockQualityOptions && !isPluginEnabled(fakeNitro.name), + noWarn: true, }, // remove guild premium tier restriction from stream fps options { @@ -143,6 +138,7 @@ export default definePlugin({ replace: "", }, predicate: () => settings.store.unlockQualityOptions && !isPluginEnabled(fakeNitro.name), + noWarn: true, }, // allow resolutions above 720p at 60fps { @@ -169,16 +165,6 @@ export default definePlugin({ }, ], }, - - // prevent LQ simulcast downgrade during bandwidth dips - { - find: "Attempting to downgrade to LQ simulcast", - replacement: { - match: /"LQ"===\i&&!\i&&\i&&\(/, - replace: "false&&(", - }, - predicate: () => settings.store.preventLqDowngrade, - }, // raise default desktop bitrate caps at the source { find: "desktopBitrate:{", diff --git a/src/webpack/common/utils.ts b/src/webpack/common/utils.ts index a23668bc6..4318c89ae 100644 --- a/src/webpack/common/utils.ts +++ b/src/webpack/common/utils.ts @@ -192,7 +192,7 @@ export const IconUtils: t.IconUtils = findByPropsLazy("getGuildBannerURL", "getU export const ColorUtils = mapMangledModuleLazy("Invalid hex color format", { rgbToHex: filters.byCode(".toString(16).slice(1)"), - hexToRgba: filters.byCode("rgba(", "??"), + hexToRgba: filters.byCode("`rgba(${"), hexToRgb: filters.byCode(".rgb();return"), rgbToHsl: filters.byCode("saturation:", "lightness:"), mixColors: filters.byCode(".substring(1,3),16)"),