diff options
author | Reto Brunner <reto@labrat.space> | 2020-08-20 09:18:42 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-08-20 21:54:33 +0200 |
commit | 186d61f21c72e4399608827d7bcf0c79991f8b7c (patch) | |
tree | 26421f587822cdabdb39a7a8301043bb31e402ab /commands | |
parent | 6a1c0f60afcbc56d11ef3a2b58f04f83fc67bf3b (diff) | |
download | aerc-186d61f21c72e4399608827d7bcf0c79991f8b7c.tar.gz |
msg/reply: don't cc the sending address on reply all
Diffstat (limited to 'commands')
-rw-r--r-- | commands/msg/reply.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 8cca2b1..d4b3be6 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -117,8 +117,8 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error { } if replyAll { for _, addr := range msg.Envelope.Cc { - //dedupe stuff already in the to: header, no need to repeat - if isMainRecipient(addr) { + //dedupe stuff from the to/from headers + if isMainRecipient(addr) || addr.Address == from.Address { continue } cc = append(cc, addr) |