Merge branch 'wip/composer-mailto-crash' into 'mainline'

Fix crash in composer opening mailto: links

See merge request GNOME/geary!247
This commit is contained in:
Michael Gratton 2019-06-26 12:32:33 +00:00
commit 783d7d7912

View file

@ -557,7 +557,7 @@ public class ComposerWidget : Gtk.EventBox, Geary.BaseInterface {
public ComposerWidget.from_mailto(GearyApplication application,
Geary.Account initial_account,
string mailto) {
this(application, account, ComposeType.NEW_MESSAGE);
this(application, initial_account, ComposeType.NEW_MESSAGE);
Gee.HashMultiMap<string, string> headers = new Gee.HashMultiMap<string, string>();
if (mailto.length > Geary.ComposedEmail.MAILTO_SCHEME.length) {