aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/compose.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/compose.go')
-rw-r--r--commands/account/compose.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go
index 24e460b3..c2144418 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
}