Clear thumbnail/screenshot when forwarding media

This commit is contained in:
Fedor Indutny
2026-01-06 23:18:41 +01:00
committed by GitHub
parent e7b111e107
commit 992bfbf0e7

View File

@@ -148,6 +148,9 @@ export async function maybeForwardMessages(
(attachments || []).map(async item => ({
...(await loadAttachmentData(item)),
path: undefined,
thumbnail: undefined,
thumbnailFromBackup: undefined,
screenshot: undefined,
}))
);
const attachmentsToSend = attachmentsWithData.filter(