fix: include original attachments when forwarding an email #214

This commit is contained in:
Linus Rath
2026-04-21 13:58:02 +02:00
parent 24c53e5ce7
commit 89d8282846
2 changed files with 49 additions and 15 deletions
+2 -1
View File
@@ -1819,7 +1819,8 @@ export default function Home() {
subject: selectedEmail.subject,
body: selectedEmail.bodyValues?.[selectedEmail.textBody?.[0]?.partId || '']?.value || selectedEmail.preview || '',
htmlBody: selectedEmail.bodyValues?.[selectedEmail.htmlBody?.[0]?.partId || '']?.value || undefined,
receivedAt: selectedEmail.receivedAt
receivedAt: selectedEmail.receivedAt,
attachments: selectedEmail.attachments,
} : undefined)}
initialDraftText={composerDraftText}
initialData={pendingDraft}