Check the subject line for lowercase re
This ensures that a message with e.g. "RE: " at the start won't get another "Re: ".
This commit is contained in:
parent
3c3bc517b5
commit
282dc44aa6
|
@ -103,7 +103,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
}
|
||||
|
||||
var subject string
|
||||
if !strings.HasPrefix(msg.Envelope.Subject, "Re: ") {
|
||||
if !strings.HasPrefix(strings.ToLower(msg.Envelope.Subject), "re: ") {
|
||||
subject = "Re: " + msg.Envelope.Subject
|
||||
} else {
|
||||
subject = msg.Envelope.Subject
|
||||
|
|
Loading…
Reference in New Issue