fix our broken patches

This commit is contained in:
thororen 2026-08-25 11:48:43 -04:00
parent 5e1a3f50ba
commit e4fd11f98a
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -99,8 +99,8 @@ export default definePlugin({
replacement: [
// override default stream quality with configured bitrate/resolution/fps
{
match: /(this\.goliveMaxQuality)=(this\.getDefaultGoliveQuality\(\))/,
replace: "$1=$self.patchStreamQuality($2)",
match: /this\.getDefaultGoliveQuality\(\)/,
replace: "$self.patchStreamQuality($&)",
},
// inject configured quality when stream settings change mid-stream
{

View file

@ -21,7 +21,7 @@ export const EmbedContext = proxyLazyWebpack(() => React.createContext<null | Em
export const EmbedMosaicContext = proxyLazyWebpack(() => React.createContext<null | number>(null));
const AttachmentContext = proxyLazyWebpack(() => React.createContext<null | AttachmentItem>(null));
const ManaSearchBar = findComponentByCodeLazy<ManaSearchBarProps>("#{intl::SEARCH}),ref");
const ManaSearchBar = findComponentByCodeLazy<ManaSearchBarProps>(".MagnifyingGlassIcon,onClear");
const FavoriteButton = findComponentByCodeLazy<FavoriteButtonProps>("#{intl::GIF_TOOLTIP_ADD_TO_FAVORITES}");
const createChannelRecordFromServer = findByCodeLazy(".GUILD_TEXT]", "fromServer)");