From cc15d630a74b393b92ebdecea74d455ece6f392a Mon Sep 17 00:00:00 2001 From: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:02:46 -0800 Subject: [PATCH] Fix replies to videos showing as quote photos --- ts/jobs/helpers/sendNormalMessage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/jobs/helpers/sendNormalMessage.ts b/ts/jobs/helpers/sendNormalMessage.ts index be77c094d..d224fd990 100644 --- a/ts/jobs/helpers/sendNormalMessage.ts +++ b/ts/jobs/helpers/sendNormalMessage.ts @@ -31,7 +31,7 @@ import type { AttachmentWithHydratedData, } from '../../types/Attachment'; import { copyCdnFields } from '../../util/attachments'; -import { LONG_MESSAGE, MIMETypeToString } from '../../types/MIME'; +import { LONG_MESSAGE } from '../../types/MIME'; import type { RawBodyRange } from '../../types/BodyRange'; import type { EmbeddedContactWithHydratedAvatar, @@ -796,7 +796,7 @@ async function uploadMessageQuote({ const uploaded = await uploadAttachment(thumbnail); return { - contentType: MIMETypeToString(thumbnail.contentType), + contentType: attachment.contentType, fileName: attachment.fileName, thumbnail: uploaded, };