aboutsummaryrefslogtreecommitdiffstats
path: root/lib/iterator
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-09-05 10:35:30 +0200
committerRobin Jarry <robin@jarry.cc>2023-09-05 20:46:19 +0200
commit39fee6ca17fa0df8ecc25925659c4f9785c769fc (patch)
tree6c55a2089e011503c6e6b3a9e0c662ababe0b9cc /lib/iterator
parent5991eae60b7f2de6c3377298a0ba7c2df33e02cd (diff)
downloadaerc-39fee6ca17fa0df8ecc25925659c4f9785c769fc.tar.gz
compose: delete empty headers
When [compose].edit-headers=true and emptying a header in the text editor (not deleting it, only deleting its contents), the operation is ignored and the header is preserved as-is. Delete the header after exiting the text editor if the header is empty or not present. Make sure not to add empty headers. Fixes: 11e5390fa0ac ("compose: implement embedded headers in editor") Reported-by: Inwit <inwit@sindominio.net> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'lib/iterator')
0 files changed, 0 insertions, 0 deletions