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 
This commit is contained in:
Reto Brunner 2020-04-23 20:55:18 +02:00 committed by Drew DeVault
parent 3fa9ae3edb
commit acf69b7490
3 changed files with 49 additions and 153 deletions
commands/account

View file

@ -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
}