diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-07-07 17:43:29 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-10 20:40:39 +0200 |
commit | aae46c7afdf4f64a49384afde41984edf936da76 (patch) | |
tree | d2c7c412b4e42a3de6893721d5bef9731fc8be92 /widgets/headerlayout.go | |
parent | 635530b12d46ff29555ba322a6bfd3c5bf8f4e7a (diff) | |
download | aerc-aae46c7afdf4f64a49384afde41984edf936da76.tar.gz |
composer: remove header if empty
Remove a header when it is empty.
Commit a253e89bdae6 ("compose: prevent sending empty address list
headers") tried to avoid sending empty headers; but instead of deleting
the header, the empty string value was just ignored.
Fixes: https://todo.sr.ht/~rjarry/aerc/55
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'widgets/headerlayout.go')
0 files changed, 0 insertions, 0 deletions