From 3102ac3680ba5fcfb126894a7b7b950b07b6c735 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Fri, 24 Apr 2020 11:42:22 +0200 Subject: Add recall command This command allows recalling the selected postponed email to edit in the composer. The command only allows recalling from the postpone directory. --- commands/msg/forward.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msg/forward.go') diff --git a/commands/msg/forward.go b/commands/msg/forward.go index 833eb9fd..35a65d8e 100644 --- a/commands/msg/forward.go +++ b/commands/msg/forward.go @@ -78,7 +78,7 @@ func (forward) Execute(aerc *widgets.Aerc, args []string) error { original.Date = msg.Envelope.Date.Format("Mon Jan 2, 2006 at 3:04 PM") } - composer, err := widgets.NewComposer(aerc, aerc.Config(), acct.AccountConfig(), + composer, err := widgets.NewComposer(aerc, acct, aerc.Config(), acct.AccountConfig(), acct.Worker(), template, defaults, original) if err != nil { aerc.PushError("Error: " + err.Error()) -- cgit