From d190957c7f4cf87073c0906df7bc826b2459ceec Mon Sep 17 00:00:00 2001 From: Dark <7890309+DarkView@users.noreply.github.com> Date: Fri, 20 Aug 2021 19:01:47 +0200 Subject: [PATCH] Check if VC actually changed --- backend/src/plugins/Logs/events/LogsVoiceChannelEvts.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/plugins/Logs/events/LogsVoiceChannelEvts.ts b/backend/src/plugins/Logs/events/LogsVoiceChannelEvts.ts index 0abfadc8..51e349e7 100644 --- a/backend/src/plugins/Logs/events/LogsVoiceChannelEvts.ts +++ b/backend/src/plugins/Logs/events/LogsVoiceChannelEvts.ts @@ -30,6 +30,7 @@ export const LogsVoiceStateUpdateEvt = logsEvt({ channel: newChannel, }); } else if (oldChannel && newChannel) { + if (oldChannel.id === newChannel.id) return; logVoiceChannelMove(meta.pluginData, { member, oldChannel,