mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-13 00:23:02 -04:00
Readme Fix
This commit is contained in:
parent
0d4cfd5e3b
commit
5e482418fd
2 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,7 @@ export default definePlugin({
|
|||
authors: [EquicordDevs.thororen],
|
||||
description: "Fixes file extensions by renaming them to a compatible supported format if possible",
|
||||
patches: [
|
||||
// Taken from AnonymiseFileNames
|
||||
{
|
||||
find: "instantBatchUpload:",
|
||||
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
||||
|
@ -25,6 +26,7 @@ export default definePlugin({
|
|||
"uploadFiles:(...args)=>(args[0].uploads.forEach(f=>f.filename=$self.fixExt(f)),$1(...args)),",
|
||||
},
|
||||
},
|
||||
// Also taken from AnonymiseFileNames
|
||||
{
|
||||
find: 'addFilesTo:"message.attachments"',
|
||||
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue