From d7cbe270e56773997c825513712b899b29bda214 Mon Sep 17 00:00:00 2001 From: sadan4 <117494111+sadan4@users.noreply.github.com> Date: Mon, 23 Sep 2024 02:07:01 -0400 Subject: [PATCH] FakeNitro: Fix wrongfully allowed emojis in voice calls (#2901) --- src/plugins/fakeNitro/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/plugins/fakeNitro/index.tsx b/src/plugins/fakeNitro/index.tsx index efc19495..2a7a0ee7 100644 --- a/src/plugins/fakeNitro/index.tsx +++ b/src/plugins/fakeNitro/index.tsx @@ -203,6 +203,15 @@ export default definePlugin({ settings, patches: [ + // Patch the emoji picker in voice calls to not be bypassed by fake nitro + { + find: "emojiItemDisabled]", + predicate: () => settings.store.enableEmojiBypass, + replacement: { + match: /CHAT/, + replace: "STATUS" + } + }, { find: ".PREMIUM_LOCKED;", group: true,