From 2b337eace1a0a44d184a8c795c0fa078c138cd8f Mon Sep 17 00:00:00 2001 From: V Date: Fri, 12 May 2023 02:30:51 +0200 Subject: [PATCH] [skip ci] ShowHiddenChannel: Fix broken patch --- src/plugins/showHiddenChannels/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index 5bcf72ff..38adf67a 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -371,7 +371,7 @@ export default definePlugin({ }, { // Remove the open chat button for the HiddenChannelLockScreen - match: /"recents".+?null,(?=.{0,120}?channelId:(\i)\.id)/, + match: /"recents".+?null,(?=.+?channelId:(\i)\.id,showRequestToSpeakSidebar)/, replace: (m, channel) => `${m}!$self.isHiddenChannel(${channel})&&` } ],