Fix FakeNitro patch
This commit is contained in:
parent
6c1b8b0d8a
commit
5a0b2ee3f5
|
@ -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});`
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue