1
0
Fork 0

those code comments were not necessary

This commit is contained in:
Cadence Ember 2023-08-30 00:38:33 +12:00
parent c9c22cdf40
commit 621a22df01

View file

@ -265,7 +265,7 @@ async function messageToEvent(message, guild, options = {}, di) {
url: await file.uploadDiscordFileToMxc(attachment.url),
external_url: attachment.url,
body: attachment.filename,
// TODO: filename: attachment.filename and then use body as the caption
filename: attachment.filename,
info: {
mimetype: attachment.content_type,
w: attachment.width,
@ -312,7 +312,7 @@ async function messageToEvent(message, guild, options = {}, di) {
url: await file.uploadDiscordFileToMxc(attachment.url),
external_url: attachment.url,
body: attachment.filename,
// TODO: filename: attachment.filename and then use body as the caption
filename: attachment.filename,
info: {
mimetype: attachment.content_type,
size: attachment.size