mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 05:42:55 -04:00
Fix Crashing
This commit is contained in:
parent
5dd3d60cd7
commit
87d8bfb374
1 changed files with 2 additions and 2 deletions
|
@ -38,11 +38,11 @@ export default definePlugin({
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /async uploadFiles\((\i),\i\){/,
|
match: /async uploadFiles\((\i),\i\){/,
|
||||||
replace: "$&$1.forEach($self.anonymise);"
|
replace: "$&$1.forEach($self.fixExt);"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /async uploadFilesSimple\((\i)\){/,
|
match: /async uploadFilesSimple\((\i)\){/,
|
||||||
replace: "$&$1.forEach($self.anonymise);"
|
replace: "$&$1.forEach($self.fixExt);"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue