diff --git a/src/equicordplugins/randomVoice/index.tsx b/src/equicordplugins/randomVoice/index.tsx index 7dce3373..9920b441 100644 --- a/src/equicordplugins/randomVoice/index.tsx +++ b/src/equicordplugins/randomVoice/index.tsx @@ -705,10 +705,9 @@ function getChannels() { function JoinVc(channelID) { const channel = ChannelStore.getChannel(channelID); - + const channel_link = `/channels/${channel.guild_id}/${channel.id}`; ChannelActions.selectVoiceChannel(channelID); - - if (settings.store.autoNavigate) NavigationRouter.transitionTo(channel.guild_id, channel.id); + if (settings.store.autoNavigate) NavigationRouter.transitionTo(channel_link); 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();