From 4a6c0cb3e9310acb26ec7fa0b29270ed0544c684 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sun, 29 Jun 2025 08:37:21 -0400 Subject: [PATCH] Fix AltKrispSwitch --- src/equicordplugins/altKrispSwitch/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/equicordplugins/altKrispSwitch/index.tsx b/src/equicordplugins/altKrispSwitch/index.tsx index 4d674dd66..a55216aa3 100644 --- a/src/equicordplugins/altKrispSwitch/index.tsx +++ b/src/equicordplugins/altKrispSwitch/index.tsx @@ -20,12 +20,11 @@ export default definePlugin({ } } ], - shouldCancelSuppression([enableKrisp, { section: origin }]) { - if (origin === "Noise Cancellation Popout") { + shouldCancelSuppression([enableKrisp, options]) { + if (options?.section === "Noise Cancellation Popout") { if (enableKrisp) { return false; } else { - // don't enable standard noise suppression if disabling return true; } }