remove Original* check
This commit is contained in:
parent
bf28e23933
commit
5255585b3b
1 changed files with 1 additions and 2 deletions
|
@ -488,8 +488,7 @@ func (c *Composer) PrepareHeader() (*mail.Header, []string, error) {
|
||||||
// Merge in additional headers
|
// Merge in additional headers
|
||||||
txthdr := mhdr.Header
|
txthdr := mhdr.Header
|
||||||
for key, value := range c.defaults {
|
for key, value := range c.defaults {
|
||||||
// skip all Original* defaults, they contain info about original message
|
if !txthdr.Has(key) && value != "" {
|
||||||
if !txthdr.Has(key) && value != "" && !strings.HasPrefix(key, "Original") {
|
|
||||||
mhdr.SetText(key, value)
|
mhdr.SetText(key, value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue