From b27ddc222a43fc5bcc38b5958bfe85cb8b3cdae9 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 11 Jun 2025 17:01:25 -0400 Subject: [PATCH] Fix Patches --- src/equicordplugins/channelTabs/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index f0cc1b4f..43c41cf1 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -54,10 +54,10 @@ export default definePlugin({ }, // intercept channel navigation to switch/create tabs { - find: "transitionToGuild", + find: "sourceLocationStack,null", replacement: { - match: /transitionToGuild\(([^,]+),([^)]+)\)/, - replace: "$&;$self.handleNavigation($1,$2)" + match: /(\i\((\i),(\i),\i,\i\)\{)(.{0,25}"transitionToGuild)/, + replace: "$1$self.handleNavigation($2,$3);$4" } }, // ctrl click to open in new tab in inbox unread @@ -86,7 +86,7 @@ export default definePlugin({ }, // prevent issues with the pins/inbox popouts being too tall { - find: ".messagesPopoutWrap", + find: ".messagesPopoutWrap),style", replacement: { match: /\i&&\((\i).maxHeight.{0,5}\)/, replace: "$&;$1.maxHeight-=$self.containerHeight" @@ -131,4 +131,4 @@ export default definePlugin({ }, util: ChannelTabsUtils, -}); \ No newline at end of file +});