From 7f033278eb3afc3b9ae2dca28efe8d4a3514d14a Mon Sep 17 00:00:00 2001 From: Jeffas Date: Fri, 24 Apr 2020 11:42:21 +0200 Subject: Add postpone command This command uses the Postpone folder from the account config to save messages to. Messages are saved as though they were sent so have a valid 'to' recipient address and should be able to be read back in for later editing. --- commands/msg/reply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msg/reply.go') diff --git a/commands/msg/reply.go b/commands/msg/reply.go index c5ae1b6..291fc4b 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -124,7 +124,7 @@ func (reply) 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(), + composer, err := widgets.NewComposer(aerc, acct, aerc.Config(), acct.AccountConfig(), acct.Worker(), template, defaults, original) if err != nil { aerc.PushError("Error: " + err.Error()) -- cgit v1.2.3