From ecd7f9859a8d7ef1404f6657d69b96b070f633a9 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 25 May 2026 15:26:02 -0400 Subject: [PATCH] EquicordHelper: dont remove icon if youre in it --- src/equicordplugins/equicordHelper/index.tsx | 3 +++ 1 file changed, 3 insertions(+) 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!) ); }