From 067beea84a5082ab19d2b909897e5e4cda5d8c61 Mon Sep 17 00:00:00 2001 From: Eazvy <57739965+Eazvy@users.noreply.github.com> Date: Thu, 27 Mar 2025 11:05:15 -0400 Subject: [PATCH] Update index.tsx --- src/equicordplugins/randomVoice/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/equicordplugins/randomVoice/index.tsx b/src/equicordplugins/randomVoice/index.tsx index 7dce3373..a0ca6e67 100644 --- a/src/equicordplugins/randomVoice/index.tsx +++ b/src/equicordplugins/randomVoice/index.tsx @@ -705,10 +705,8 @@ function getChannels() { function JoinVc(channelID) { const channel = ChannelStore.getChannel(channelID); - ChannelActions.selectVoiceChannel(channelID); - - if (settings.store.autoNavigate) NavigationRouter.transitionTo(channel.guild_id, channel.id); + if (settings.store.autoNavigate) NavigationRouter.transitionToGuild(channel.guild_id, channel.id); if (settings.store.autoCamera && PermissionStore.can(STREAM, channel)) autoCamera(); if (settings.store.autoCamera && PermissionStore.can(STREAM, channel)) autoCamera(); if (settings.store.selfMute && !MediaEngineStore.isSelfMute() && SelectedChannelStore.getVoiceChannelId()) toggleSelfMute();