summaryrefslogtreecommitdiff
path: root/commands/account
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-04-23 20:55:18 +0200
committerDrew DeVault <sir@cmpwn.com>2020-04-24 12:59:21 -0400
commitacf69b7490f4848066f2df4b3c2f675a8d57661a (patch)
treeb3442983879619331b753c4edfc2dcbdd8c746b6 /commands/account
parent3fa9ae3edb0c2193ef333a77b710ccbe54ee4368 (diff)
downloadaerc-acf69b7490f4848066f2df4b3c2f675a8d57661a.zip
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')
-rw-r--r--commands/account/compose.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/compose.go b/commands/account/compose.go
index c214441..8115faa 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
}