Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen1234 2026-02-20 14:23:32 -05:00
commit 44873f8deb
No known key found for this signature in database
6 changed files with 9 additions and 9 deletions

View file

@ -52,10 +52,10 @@ export default definePlugin({
patches: [
{
find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));",
find: ".WIDGETS_RTC_UPSELL_COACHMARK),",
replacement: {
// react.jsx)(AccountPanel, { ..., showTaglessAccountPanel: blah })
match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,(occluded|hidePrivateData):)/,
match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,occluded:)/,
// react.jsx(WrapperComponent, { VencordOriginal: AccountPanel, ...
replace: "$self.PanelWrapper,{VencordOriginal:$1,"
},

View file

@ -75,7 +75,7 @@ export default definePlugin({
patches: [
{
find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));",
find: ".WIDGETS_RTC_UPSELL_COACHMARK)",
group: true,
replacement: [
{

View file

@ -127,7 +127,7 @@ export default definePlugin({
predicate: () => settings.store.disableFade
},
{ // Load menu TOC eagerly
find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));",
find: "handleOpenSettingsContextMenu=",
replacement: {
match: /(?=handleOpenSettingsContextMenu=.{0,100}?null!=\i&&.{0,100}?(await [^};]*?\)\)))/,
replace: "_vencordBetterSettingsEagerLoad=(async ()=>$1)();"

View file

@ -87,7 +87,7 @@ export default definePlugin({
},
// Current user area, at bottom of channels/dm list
{
find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));",
find: ".WIDGETS_RTC_UPSELL_COACHMARK),",
replacement: [
// Use Decor avatar decoration hook
{

View file

@ -461,11 +461,11 @@ export default definePlugin({
},
},
{
find: '"channel_mention"});',
find: 'getConfig({location:"channel_mention"})',
replacement: {
// Show inside voice channel instead of trying to join them when clicking on a channel mention
match: /(?<=getChannel\(\i\);if\(null!=(\i))(?=.{0,150}?selectVoiceChannel)/,
replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})`
match: /(?<=getChannel\(\i\);if\(null!=(\i)).{0,200}?return void (?=\i\.default\.selectVoiceChannel)/,
replace: (m, channel) => `${m}!$self.isHiddenChannel(${channel})&&`
}
},
{

View file

@ -122,7 +122,7 @@ export default definePlugin({
patches: [
{
find: "#{intl::Q8lUnE::raw}",
find: "#{intl::SEVERAL_USERS_TYPING_STRONG}",
group: true,
replacement: [
{