Fix a crash editing a draft that refers to a message with no message-id.
This commit is contained in:
parent
339b2b6153
commit
a37d8605c2
1 changed files with 2 additions and 1 deletions
|
|
@ -674,7 +674,8 @@ public class ComposerWidget : Gtk.EventBox {
|
|||
Gee.Set<Geary.Email> emails = email_map.get_keys();
|
||||
Geary.Email? email = null;
|
||||
foreach (Geary.Email candidate in emails) {
|
||||
if (candidate.message_id.equal_to(mid)) {
|
||||
if (candidate.message_id != null &&
|
||||
mid.equal_to(candidate.message_id)) {
|
||||
email = candidate;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue