SHC: Fix Patch

This commit is contained in:
thororen1234 2026-06-10 15:58:03 -04:00
parent 4134b9f4f8
commit 80db605323
No known key found for this signature in database

View file

@ -119,7 +119,7 @@ export default definePlugin({
replacement: [
{
// Do not show confirmation to join a voice channel when already connected to another if clicking on a hidden voice channel
match: /(?<=getIgnoredUsersForVoiceChannel\((\i)\.id\)[^;]+?;return\()/,
match: /(?<=getIgnoredUsersForVoiceChannel\((\i)\.id\);return\()/,
replace: (_, channel) => `!$self.isHiddenChannel(${channel})&&`
},
{