aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/msg/reply.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 3c69e27..4357874 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 address == us.Address {
+ if strings.ToLower(address) == strings.ToLower(us.Address) {
continue
}
to = append(to, addr.Format())