From bf28e23933a9808820ef4855257accf4634068e9 Mon Sep 17 00:00:00 2001 From: Leszek CimaƂa Date: Wed, 8 Jan 2020 21:44:14 +0100 Subject: create OriginalMail struct --- commands/account/compose.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'commands/account') diff --git a/commands/account/compose.go b/commands/account/compose.go index 24e460b..c214441 100644 --- a/commands/account/compose.go +++ b/commands/account/compose.go @@ -5,6 +5,7 @@ import ( "regexp" "strings" + "git.sr.ht/~sircmpwn/aerc/models" "git.sr.ht/~sircmpwn/aerc/widgets" "git.sr.ht/~sircmpwn/getopt" ) @@ -31,7 +32,8 @@ func (Compose) Execute(aerc *widgets.Aerc, args []string) error { acct := aerc.SelectedAccount() composer, err := widgets.NewComposer(aerc, - aerc.Config(), acct.AccountConfig(), acct.Worker(), template, nil) + aerc.Config(), acct.AccountConfig(), acct.Worker(), + template, nil, models.OriginalMail{}) if err != nil { return err } -- cgit 1.4.1-2-gfad0