From f09b44b0d5acbcb67570727ebdd10102a2c707f8 Mon Sep 17 00:00:00 2001 From: V Date: Fri, 30 Jun 2023 15:55:20 +0200 Subject: [PATCH] VcNarrator: Ignore stage channels --- src/plugins/vcNarrator.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx index 62a6b43c..fe3efdf6 100644 --- a/src/plugins/vcNarrator.tsx +++ b/src/plugins/vcNarrator.tsx @@ -156,6 +156,8 @@ export default definePlugin({ const myChanId = SelectedChannelStore.getVoiceChannelId(); const myId = UserStore.getCurrentUser().id; + if (ChannelStore.getChannel(myChanId!)?.type === 13 /* Stage Channel */) return; + for (const state of voiceStates) { const { userId, channelId, oldChannelId } = state; const isMe = userId === myId;