EquicordHelper: dont filter members either
This commit is contained in:
parent
ecd7f9859a
commit
1e125e309c
1 changed files with 2 additions and 0 deletions
|
|
@ -409,6 +409,8 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
isChannelMuted(guildId: string, channelId: string) {
|
||||
const currentUserVoiceState = VoiceStateStore.getVoiceStateForUser(UserStore.getCurrentUser()?.id);
|
||||
if (currentUserVoiceState?.channelId === channelId) return false;
|
||||
return UserGuildSettingsStore.isChannelMuted(guildId, channelId);
|
||||
},
|
||||
hasUnmutedVoiceChannel(guildId: string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue