diff options
-rw-r--r-- | commands/msg/reply.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 4357874..c5ae1b6 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -95,7 +95,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error { } for _, addr := range msg.Envelope.To { address := fmt.Sprintf("%s@%s", addr.Mailbox, addr.Host) - if strings.ToLower(address) == strings.ToLower(us.Address) { + if strings.EqualFold(address, us.Address) { continue } to = append(to, addr.Format()) |