mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
Opening a mailto: link while the composer held unsaved text used to replace the session outright and drop the text on the floor. The mailto entry point now hands a follow-up to the composer's dirty-aware close handler, so the "Save or discard draft?" dialog runs first: save and discard continue into the mailto draft, cancel leaves the current draft untouched. When a failed save hands the text back to the continue-draft slot (#702), that rescue wins and the follow-up is dropped.