mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 07:54:22 -04:00
Fix AnonymiseFileNames
This commit is contained in:
parent
8d97863db6
commit
a6c1f97d12
1 changed files with 1 additions and 5 deletions
|
@ -75,11 +75,7 @@ export default definePlugin({
|
||||||
find: "async uploadFiles(",
|
find: "async uploadFiles(",
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
match: /async uploadFiles\((\i),\i\){/,
|
match: /async uploadFiles\((\i)\){/,
|
||||||
replace: "$&$1.forEach($self.anonymise);"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
match: /async uploadFilesSimple\((\i)\){/,
|
|
||||||
replace: "$&$1.forEach($self.anonymise);"
|
replace: "$&$1.forEach($self.anonymise);"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue