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();