- Compose a new message
- optionally address the message to yourself, but leave everything else empty
- Click send OR wait for autosave to kick in
-> crash
-> crash
See commit for a tentative fix.
Alternatively, we could abort on empty message in ComposerViewBase, but there the situation may be less clear-cut (think attachments, recipients), and a check would need to be added on each of save draft, autosave, send.
I feel a bit unsure due to the differences/inconsistency in the handling in the existing code base (see diff). I unified that, but hope I did not overlook anything.