FakeNitro: Fix wrongfully allowed emojis in voice calls (#2901)
This commit is contained in:
parent
c29362ca89
commit
d7cbe270e5
1 changed files with 9 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue