diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/aerc.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index 70bee7c6..01166b07 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -514,6 +514,12 @@ func (aerc *Aerc) Mailto(addr *url.URL) error { } h.SetAddressList("Cc", list) case "in-reply-to": + for i, msgID := range vals { + if len(msgID) > 1 && msgID[0] == '<' && + msgID[len(msgID)-1] == '>' { + vals[i] = msgID[1 : len(msgID)-1] + } + } h.SetMsgIDList("In-Reply-To", vals) case "subject": subject = strings.Join(vals, ",") |