[skip ci] ShowHiddenChannel: Fix broken patch
This commit is contained in:
parent
5c5b009c41
commit
2b337eace1
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Remove the open chat button for the HiddenChannelLockScreen
|
// 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})&&`
|
replace: (m, channel) => `${m}!$self.isHiddenChannel(${channel})&&`
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue