From b0bf09b98fc038c1bc9921d568c06260b7448a15 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 15 May 2019 19:41:21 -0400 Subject: Copy sent emails to the Sent folder Or rather, to a user-specified folder --- commands/account/compose.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/account/compose.go') diff --git a/commands/account/compose.go b/commands/account/compose.go index 8097d10..1ffd2e2 100644 --- a/commands/account/compose.go +++ b/commands/account/compose.go @@ -16,7 +16,8 @@ func Compose(aerc *widgets.Aerc, args []string) error { return errors.New("Usage: compose") } acct := aerc.SelectedAccount() - composer := widgets.NewComposer(aerc.Config(), acct.AccountConfig()) + composer := widgets.NewComposer( + aerc.Config(), acct.AccountConfig(), acct.Worker()) tab := aerc.NewTab(composer, "New email") composer.OnSubjectChange(func(subject string) { if subject == "" { -- cgit v1.2.3