fedimbed: fix mov files
This commit is contained in:
parent
480228a417
commit
cf736d79da
1 changed files with 1 additions and 1 deletions
|
@ -801,7 +801,7 @@ async function processUrl(msg, url, spoiler = false) {
|
|||
filename:
|
||||
(cw != "" || spoiler ? "SPOILER_" : "") +
|
||||
(attachment.type.indexOf("/") > -1
|
||||
? attachment.type.replace("/", ".")
|
||||
? attachment.type.replace("/", ".").replace("quicktime", "mov")
|
||||
: attachment.type +
|
||||
"." +
|
||||
(url.match(/\.([a-z0-9]{3,4})$/)?.[0] ?? "mp4")),
|
||||
|
|
Loading…
Reference in a new issue