mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The Pro/embedded composer-hoisting effect built its own `replyTo` straight from `selectedEmail`, unconditionally, ignoring `pendingDraft.replyTo`. That meant intent set by the opener - e.g. handleForwardAsAttachment's synthetic message/rfc822 attachment - would silently get dropped when the composer is hoisted into a Pro tab, falling back to a normal quoted forward instead. Mirror the same precedence the non-embedded render path already uses just below (`pendingDraft.replyTo` wins when set). Caught by GitHub Copilot's automated PR review.