Skip to content

Commit

Permalink
fix show hidden channels
Browse files Browse the repository at this point in the history
  • Loading branch information
sadan4 committed Oct 18, 2024
1 parent e818905 commit 76ceb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/showHiddenChannels/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,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: /(?<=getCurrentClientVoiceChannelId\((\i)\.guild_id\);return)/,
match: /(?<=getBlockedUsersForVoiceChannel\((\i)\.id\);return)/,
replace: (_, channel) => `!$self.isHiddenChannel(${channel})&&`
},
{
Expand Down

0 comments on commit 76ceb1f

Please sign in to comment.