about summary refs log tree commit diff stats
path: root/commands/msg/forward.go
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2020-04-24 11:42:22 +0200
committerDrew DeVault <sir@cmpwn.com>2020-04-24 12:59:21 -0400
commit3102ac3680ba5fcfb126894a7b7b950b07b6c735 (patch)
treec017e43203fcadf978fd919222628581f6b11b1b /commands/msg/forward.go
parent7f033278eb3afc3b9ae2dca28efe8d4a3514d14a (diff)
downloadaerc-3102ac3680ba5fcfb126894a7b7b950b07b6c735.tar.gz
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.
Diffstat (limited to 'commands/msg/forward.go')
-rw-r--r--commands/msg/forward.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/forward.go b/commands/msg/forward.go
index 833eb9f..35a65d8 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())