This commit is contained in:
Vendicated 2026-01-23 21:38:31 +01:00
parent e7c3c1b416
commit 3575d24a08
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 5 additions and 4 deletions

View file

@ -29,7 +29,8 @@ export default definePlugin({
patches: [
{
find: ".dotBorderBase",
// class used in this module is dotBorderBase
find: "0H16C18.2091",
replacement: {
match: /,viewBox:"0 0 20 20"/,
replace: "$&,onClick:()=>$self.copyToClipBoard(arguments[0].color),style:{cursor:'pointer'}",

View file

@ -183,11 +183,11 @@ export default definePlugin({
makeBypassPatches(),
// Patch the emoji picker in voice calls to not be bypassed by fake nitro
{
find: "emojiItemDisabled]",
find: '.getByName("fork_and_knife")',
predicate: () => settings.store.enableEmojiBypass,
replacement: {
match: /CHAT/,
replace: "STATUS"
match: ".CHAT",
replace: ".STATUS"
}
},
{