From 081bacd190cab0f2d7c7aa47b6decd6c92a88128 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 9 Sep 2024 23:01:38 -0400 Subject: [PATCH] Fix 2 broken patches --- src/equicordplugins/blockKrisp/index.ts | 2 +- src/plugins/_core/noTrack.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/blockKrisp/index.ts b/src/equicordplugins/blockKrisp/index.ts index a0c5cf28..63daeef8 100644 --- a/src/equicordplugins/blockKrisp/index.ts +++ b/src/equicordplugins/blockKrisp/index.ts @@ -30,7 +30,7 @@ export default definePlugin({ }, // Set Krisp to not supported { - find: "\"shouldSkipMuteUnmuteSound\"", + find: "isNoiseCancellationSupported(){", replacement: { match: /isNoiseCancellationSupported\(\)\{/, replace: "$&return false;" diff --git a/src/plugins/_core/noTrack.ts b/src/plugins/_core/noTrack.ts index de1c2056..d177e4ff 100644 --- a/src/plugins/_core/noTrack.ts +++ b/src/plugins/_core/noTrack.ts @@ -48,7 +48,7 @@ export default definePlugin({ }, }, { - find: ".METRICS,", + find: ".METRICS_V2,", replacement: [ { match: /this\._intervalId=/,