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
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
var subject string
|
var subject string
|
||||||
if !strings.HasPrefix(msg.Envelope.Subject, "Re: ") {
|
if !strings.HasPrefix(strings.ToLower(msg.Envelope.Subject), "re: ") {
|
||||||
subject = "Re: " + msg.Envelope.Subject
|
subject = "Re: " + msg.Envelope.Subject
|
||||||
} else {
|
} else {
|
||||||
subject = msg.Envelope.Subject
|
subject = msg.Envelope.Subject
|
||||||
|
|
Loading…
Reference in a new issue