From acf69b7490f4848066f2df4b3c2f675a8d57661a Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 23 Apr 2020 20:55:18 +0200 Subject: 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 --- commands/account/compose.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/account') 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 } -- cgit