diff options
author | Robin Jarry <robin@jarry.cc> | 2022-02-03 09:54:23 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-02-03 09:55:20 +0100 |
commit | dc6fd7c15e15fd1ec6a3b48a1367432a63bf4aaf (patch) | |
tree | d14282dab4a52f856ceb5a946bec8e51a3eb48de /widgets | |
parent | 77b3a141a4459a1e59583f0d9fee46e871466d74 (diff) | |
download | aerc-dc6fd7c15e15fd1ec6a3b48a1367432a63bf4aaf.zip |
compose: allow setting all headers in templates
Allow setting To, Cc, Subject, Bcc in template headers.
Fixes: https://todo.sr.ht/~rjarry/aerc/19
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/compose.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/compose.go b/widgets/compose.go index 1693314..7229ec8 100644 --- a/widgets/compose.go +++ b/widgets/compose.go @@ -109,11 +109,11 @@ func NewComposer(aerc *Aerc, acct *AccountView, conf *config.AercConfig, focused: 1, completer: cmpl, } - c.buildComposeHeader(aerc, cmpl) - if err := c.AddTemplate(template, templateData); err != nil { return nil, err } + c.buildComposeHeader(aerc, cmpl) + c.AddSignature() c.updateGrid() |