mirror of
https://github.com/Equicord/Equicord.git
synced 2025-04-01 13:11:57 -04:00
Update index.tsx
This commit is contained in:
parent
9ee352c67f
commit
f6da987c6f
1 changed files with 2 additions and 1 deletions
|
@ -705,8 +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.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.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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue