[skip ci] ShowHiddenChannel: Fix broken patch

main
V 1 year ago
parent 5c5b009c41
commit 2b337eace1
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -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})&&`
}
],

Loading…
Cancel
Save