about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorLeszek CimaƂa <ernierasta@zori.cz>2020-01-08 21:44:15 +0100
committerDrew DeVault <sir@cmpwn.com>2020-01-09 14:31:19 -0500
commit5255585b3b550bf9968f9d71c12274dd2ce5f210 (patch)
treedf94289cc913ec69749935c9c09605437e75442d /widgets
parentbf28e23933a9808820ef4855257accf4634068e9 (diff)
downloadaerc-5255585b3b550bf9968f9d71c12274dd2ce5f210.tar.gz
remove Original* check
Diffstat (limited to 'widgets')
-rw-r--r--widgets/compose.go3
1 files changed, 1 insertions, 2 deletions
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)
 		}
 	}