mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix For Undefined
This commit is contained in:
parent
af40b89e65
commit
7e9a71d5ad
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ export default definePlugin({
|
|||
const fileName = extIdx !== -1 ? file.substring(0, extIdx) : "";
|
||||
let ext = extIdx !== -1 ? file.slice(extIdx) : "";
|
||||
if (Settings.plugins.FixFileExtensions.enabled) {
|
||||
ext = reverseExtensionMap[ext];
|
||||
ext = reverseExtensionMap[ext] || ext;
|
||||
}
|
||||
if ((upload.anonymise ?? settings.store.anonymiseByDefault) === false) return fileName + ext;
|
||||
|
||||
|
|
Loading…
Reference in a new issue