diff --git a/src/equicordplugins/randomVoice/index.tsx b/src/equicordplugins/randomVoice/index.tsx index a0ca6e67..9920b441 100644 --- a/src/equicordplugins/randomVoice/index.tsx +++ b/src/equicordplugins/randomVoice/index.tsx @@ -705,8 +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.transitionToGuild(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();