about summary refs log tree commit diff stats
path: root/commands/msg
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg')
-rw-r--r--commands/msg/reply.go4
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)