Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2021-05-12 10:34:38 +02:00
parent aaa32b60eb
commit f558128806
1 changed files with 3 additions and 0 deletions

View File

@ -6013,6 +6013,9 @@ module.exports = (_ => {
render() {
if (!this.props.guild) return null;
this.props.guildId = this.props.guild.id;
this.props.selectedChannelId = LibraryModules.LastChannelStore.getChannelId(this.props.guild.id);
let currentVoiceChannel = LibraryModules.ChannelStore.getChannel(LibraryModules.CurrentVoiceUtils.getChannelId());
let hasVideo = currentVoiceChannel && LibraryModules.VoiceUtils.hasVideo(currentVoiceChannel);