fedimbed: remap mpeg to mp3
This commit is contained in:
parent
296886746a
commit
b46c711b65
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ async function processUrl(msg, url) {
|
||||||
.then((buf) => Buffer.from(buf));
|
.then((buf) => Buffer.from(buf));
|
||||||
|
|
||||||
files.push({
|
files.push({
|
||||||
name: attachment.type.replace("/", "."),
|
name: attachment.type.replace("/", ".").replace("mpeg","mp3"),
|
||||||
contents: file,
|
contents: file,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue