From 939f0de522cbb6a238acb83d0539072b694c8d99 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 15 Jul 2026 22:03:09 -0400 Subject: [PATCH] Fix Broken Patches --- src/equicordplugins/channelTabs/index.tsx | 12 ++---------- src/equicordplugins/keywordNotify/index.tsx | 2 +- src/plugins/decor/index.tsx | 1 - 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index ae2a40597..585849735 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -87,8 +87,8 @@ export default definePlugin({ { find: ".deleteRecentMention(", replacement: { - match: /(?<=className:\i.\i,onJump:)(\i)(?=.{0,20}message:(\i))/, - replace: "event => { if (event.ctrlKey) $self.open($2); else $1(event) }" + match: /(?<=className:\i.\i,onJump:)(\i)=>(\i\(\i,\i\.id\))(?=.{0,40}message:(\i))/, + replace: "$1 => { if ($1?.ctrlKey) $self.open($3); else $2 }" } }, // ctrl click to open in new tab in search results @@ -99,14 +99,6 @@ export default definePlugin({ replace: "$&if ($1.ctrlKey) return $self.open($2);" } }, - // prevent issues with the pins/inbox popouts being too tall - { - find: "#{intl::JUMP}),onClick:", - replacement: { - match: /\i&&\((\i).maxHeight.{0,5}\)/, - replace: "$&;$1.maxHeight-=$self.containerHeight" - } - } ], settings, diff --git a/src/equicordplugins/keywordNotify/index.tsx b/src/equicordplugins/keywordNotify/index.tsx index 1ca0adc1f..aa0e6b5ae 100644 --- a/src/equicordplugins/keywordNotify/index.tsx +++ b/src/equicordplugins/keywordNotify/index.tsx @@ -343,7 +343,7 @@ export default definePlugin({ find: "#{intl::RECENT_MENTIONS_EMPTY_STATE_TIP}", replacement: [ { - match: /function (\i)\(\i\){let{message:\i,gotoMessage/, + match: /function (\i)\(\i\){let{message:\i,onJump/, replace: "$self.renderMsg = $1; $&" }, { diff --git a/src/plugins/decor/index.tsx b/src/plugins/decor/index.tsx index 33d20a2ff..6103b2e92 100644 --- a/src/plugins/decor/index.tsx +++ b/src/plugins/decor/index.tsx @@ -98,7 +98,6 @@ export default definePlugin({ ] }, ...[ - "#{intl::GUILD_COMMUNICATION_DISABLED_ICON_TOOLTIP_BODY}", // Messages "#{intl::COLLECTIBLES_NAMEPLATE_PREVIEW_A11Y}", // Nameplate preview "#{intl::COLLECTIBLES_PROFILE_PREVIEW_A11Y}", // Avatar preview ].map(find => ({