1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-09 09:26:22 +00:00

FakeNitro: Fix wrongfully allowed emojis in voice calls (#2901)

This commit is contained in:
sadan4 2024-09-23 02:07:01 -04:00 committed by GitHub
parent 9239afdab9
commit 1defaaceb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,