This commit is contained in:
thororen1234 2025-03-27 11:44:44 -04:00
commit 70164e959d
No known key found for this signature in database

View file

@ -705,10 +705,9 @@ function getChannels() {
function JoinVc(channelID) { function JoinVc(channelID) {
const channel = ChannelStore.getChannel(channelID); const channel = ChannelStore.getChannel(channelID);
const channel_link = `/channels/${channel.guild_id}/${channel.id}`;
ChannelActions.selectVoiceChannel(channelID); ChannelActions.selectVoiceChannel(channelID);
if (settings.store.autoNavigate) NavigationRouter.transitionTo(channel_link);
if (settings.store.autoNavigate) NavigationRouter.transitionTo(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.autoCamera && PermissionStore.can(STREAM, channel)) autoCamera(); if (settings.store.autoCamera && PermissionStore.can(STREAM, channel)) autoCamera();
if (settings.store.selfMute && !MediaEngineStore.isSelfMute() && SelectedChannelStore.getVoiceChannelId()) toggleSelfMute(); if (settings.store.selfMute && !MediaEngineStore.isSelfMute() && SelectedChannelStore.getVoiceChannelId()) toggleSelfMute();