diff options
author | Leszek CimaĆa <ernierasta@zori.cz> | 2020-01-08 21:44:15 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-01-09 14:31:19 -0500 |
commit | 5255585b3b550bf9968f9d71c12274dd2ce5f210 (patch) | |
tree | df94289cc913ec69749935c9c09605437e75442d /widgets/compose.go | |
parent | bf28e23933a9808820ef4855257accf4634068e9 (diff) | |
download | aerc-5255585b3b550bf9968f9d71c12274dd2ce5f210.tar.gz |
remove Original* check
Diffstat (limited to 'widgets/compose.go')
-rw-r--r-- | widgets/compose.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/compose.go b/widgets/compose.go index 636dcd10..9419579c 100644 --- a/widgets/compose.go +++ b/widgets/compose.go @@ -488,8 +488,7 @@ func (c *Composer) PrepareHeader() (*mail.Header, []string, error) { // Merge in additional headers txthdr := mhdr.Header for key, value := range c.defaults { - // skip all Original* defaults, they contain info about original message - if !txthdr.Has(key) && value != "" && !strings.HasPrefix(key, "Original") { + if !txthdr.Has(key) && value != "" { mhdr.SetText(key, value) } } |