diff options
author | Leszek CimaĆa <ernierasta@zori.cz> | 2020-01-08 21:44:14 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-09 14:31:19 -0500 |
commit | bf28e23933a9808820ef4855257accf4634068e9 (patch) | |
tree | d09d522d0f48d6f3e1013f5f7197e64636e51e99 /commands/account | |
parent | da6fb1a1551767609e1d5a97631bdaffdc301f4c (diff) |
create OriginalMail struct
Diffstat (limited to 'commands/account')
-rw-r--r-- | commands/account/compose.go | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |