Fix FakeNitro patch

This commit is contained in:
Nuckyz 2023-10-21 12:04:32 -03:00
parent 6c1b8b0d8a
commit 5a0b2ee3f5
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -295,7 +295,7 @@ export default definePlugin({
},
{
predicate: () => settings.store.transformStickers,
match: /renderAttachments=function\(\i\){var (\i)=\i.attachments.+?;/,
match: /renderAttachments=function\(\i\){var \i=this,(\i)=\i.attachments.+?;/,
replace: (m, attachments) => `${m}${attachments}=$self.filterAttachments(${attachments});`
}
]