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 => ({