about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--widgets/compose.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/compose.go b/widgets/compose.go
index 24af18c..c6c8015 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -469,7 +469,8 @@ func (c *Composer) PrepareHeader() (*mail.Header, []string, error) {
 	// Merge in additional headers
 	txthdr := mhdr.Header
 	for key, value := range c.defaults {
-		if !txthdr.Has(key) && value != "" {
+		// skip all Original* defaults, they contain info about original message
+		if !txthdr.Has(key) && value != "" && !strings.HasPrefix(key, "Original") {
 			mhdr.SetText(key, value)
 		}
 	}