diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/compose/send.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go index f9946b7..e1d6b1e 100644 --- a/commands/compose/send.go +++ b/commands/compose/send.go @@ -53,7 +53,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error { return fmt.Errorf("Unknown transfer protocol %s", uri.Scheme) } - header, rcpts, err := composer.Header() + header, rcpts, err := composer.PrepareHeader() if err != nil { return err } @@ -188,7 +188,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error { composer.Close() } }) - header, _, _ := composer.Header() + header, _, _ := composer.PrepareHeader() composer.WriteMessage(header, w) w.Close() } else { |