From 5255585b3b550bf9968f9d71c12274dd2ce5f210 Mon Sep 17 00:00:00 2001 From: Leszek CimaƂa Date: Wed, 8 Jan 2020 21:44:15 +0100 Subject: remove Original* check --- widgets/compose.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'widgets/compose.go') diff --git a/widgets/compose.go b/widgets/compose.go index 636dcd1..9419579 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) } } -- cgit 1.4.1-2-gfad0