diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index 182e177b8..f8fb275c4 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -413,7 +413,10 @@ export default definePlugin({ }, hasUnmutedVoiceChannel(guildId: string) { const voiceStates = VoiceStateStore.getVoiceStates(guildId); + const currentUserVoiceState = VoiceStateStore.getVoiceStateForUser(UserStore.getCurrentUser()?.id); + return Object.values(voiceStates ?? {}).some(voiceState => + voiceState?.channelId === currentUserVoiceState?.channelId || !UserGuildSettingsStore.isChannelMuted(guildId, voiceState?.channelId!) ); }