diff options
author | Reto Brunner <reto@labrat.space> | 2020-04-23 20:55:18 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-04-24 12:59:21 -0400 |
commit | acf69b7490f4848066f2df4b3c2f675a8d57661a (patch) | |
tree | b3442983879619331b753c4edfc2dcbdd8c746b6 /commands/account/compose.go | |
parent | 3fa9ae3edb0c2193ef333a77b710ccbe54ee4368 (diff) | |
download | aerc-acf69b7490f4848066f2df4b3c2f675a8d57661a.tar.gz |
Remove ability to specify headers in the editor
Due to headers being essentially free text, we constantly run into issues
with parts of the body being interpreted as headers.
Remove the ability to overwrite headers to avoid that, while keeping the ability
to specify headers in the template files.
Fixes #383
Diffstat (limited to 'commands/account/compose.go')
-rw-r--r-- | commands/account/compose.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go index c2144418..8115faa2 100644 --- a/commands/account/compose.go +++ b/commands/account/compose.go @@ -46,7 +46,7 @@ func (Compose) Execute(aerc *widgets.Aerc, args []string) error { } tab.Content.Invalidate() }) - go composer.PrependContents(strings.NewReader(body)) + go composer.AppendContents(strings.NewReader(body)) return nil } |