From f6da987c6f1326fe7d0b94fed1a05fe50825916a Mon Sep 17 00:00:00 2001 From: Eazvy <57739965+Eazvy@users.noreply.github.com> Date: Thu, 27 Mar 2025 11:14:22 -0400 Subject: [PATCH] Update index.tsx --- src/equicordplugins/randomVoice/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();