diff options
author | Evan Gates <evan.gates@gmail.com> | 2022-04-05 08:54:58 -0600 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-04-06 15:37:13 +0200 |
commit | 1aa32bf37742770a3243460ca4445256fe4273a7 (patch) | |
tree | 4b06ddf5dbf16bf7af3272115bb357ddaf513e55 /commands/compose/edit.go | |
parent | 247c6c74380a9e56527ec0a87965a39142ffc213 (diff) | |
download | aerc-1aa32bf37742770a3243460ca4445256fe4273a7.tar.gz |
compose: parse headers correctly from -H
By using :compose -H <header> a user should be able to add
arbitrary headers to an email. The existing implementation from
5b523880b4b4cd2abd9457b4b09c384af33be14b added the headers as lines
to the beginning of the body. These lines were not interpreted as
headers anywhere and ended up as plain text in the body of the email.
Fix the code to parse and add the headers correctly.
Signed-off-by: Evan Gates <evan.gates@gmail.com>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'commands/compose/edit.go')
0 files changed, 0 insertions, 0 deletions