Improve quoted attachment typings

This commit is contained in:
trevor-signal
2024-05-23 17:06:41 -04:00
committed by GitHub
parent 38226115a4
commit 5f0080a7d7
20 changed files with 98 additions and 97 deletions

View File

@@ -274,7 +274,7 @@ export async function addAttachmentToMessage(
attachments: edit.quote.attachments.map(item => {
const { thumbnail } = item;
if (!thumbnail) {
return;
return item;
}
const newThumbnail = maybeReplaceAttachment(thumbnail);