aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/showHiddenChannels/index.tsx
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-12 02:30:51 +0200
committerV <vendicated@riseup.net>2023-05-12 02:30:51 +0200
commit2b337eace1a0a44d184a8c795c0fa078c138cd8f (patch)
tree83b6f7d5712585ce7cf7d7ce7adeb4a2d4e8475e /src/plugins/showHiddenChannels/index.tsx
parent5c5b009c4180b73603a9c3a6c6663f889a2e2062 (diff)
downloadVencord-2b337eace1a0a44d184a8c795c0fa078c138cd8f.tar.gz
Vencord-2b337eace1a0a44d184a8c795c0fa078c138cd8f.tar.bz2
Vencord-2b337eace1a0a44d184a8c795c0fa078c138cd8f.zip
[skip ci] ShowHiddenChannel: Fix broken patch
Diffstat (limited to 'src/plugins/showHiddenChannels/index.tsx')
-rw-r--r--src/plugins/showHiddenChannels/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx
index 5bcf72f..38adf67 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})&&`
}
],