mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-28 07:54:22 -04:00
This commit is contained in:
parent
727abb429e
commit
9e588eeb77
2 changed files with 4 additions and 4 deletions
|
@ -32,10 +32,10 @@ export default definePlugin({
|
|||
patches: [
|
||||
// Taken from AnonymiseFileNames
|
||||
{
|
||||
find: "async uploadFilesSimple(",
|
||||
find: "async uploadFiles(",
|
||||
replacement: [
|
||||
{
|
||||
match: /async uploadFilesSimple\((\i)\){/,
|
||||
match: /async uploadFiles\((\i)\){/,
|
||||
replace: "$&$1.forEach($self.fixExt);"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -79,10 +79,10 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: "async uploadFilesSimple(",
|
||||
find: "async uploadFiles(",
|
||||
replacement: [
|
||||
{
|
||||
match: /async uploadFilesSimple\((\i)\){/,
|
||||
match: /async uploadFiles\((\i)\){/,
|
||||
replace: "$&$1.forEach($self.anonymise);"
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue