msg/reply: don't cc the sending address on reply all
This commit is contained in:
parent
6a1c0f60af
commit
186d61f21c
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
|
||||||
}
|
}
|
||||||
if replyAll {
|
if replyAll {
|
||||||
for _, addr := range msg.Envelope.Cc {
|
for _, addr := range msg.Envelope.Cc {
|
||||||
//dedupe stuff already in the to: header, no need to repeat
|
//dedupe stuff from the to/from headers
|
||||||
if isMainRecipient(addr) {
|
if isMainRecipient(addr) || addr.Address == from.Address {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
cc = append(cc, addr)
|
cc = append(cc, addr)
|
||||||
|
|
Loading…
Reference in a new issue