mirror of https://github.com/djcb/mu.git
Merge pull request #2536 from Chris00/master
Don't use the original message `To` for a reply `To` field
This commit is contained in:
commit
e64b343c9d
|
@ -350,10 +350,8 @@ address is set, use that, otherwise use the From address. Note,
|
|||
whatever was in the To: field before, goes to the Cc:-list (if
|
||||
we're doing a reply-to-all). Special case: if we were the sender
|
||||
of the original, we simple copy the list form the original."
|
||||
(let* ((reply-to
|
||||
(append
|
||||
(plist-get origmsg :to)
|
||||
(or (plist-get origmsg :reply-to) (plist-get origmsg :from))))
|
||||
(let* ((reply-to (or (plist-get origmsg :reply-to)
|
||||
(plist-get origmsg :from)))
|
||||
(reply-to (cl-delete-duplicates reply-to
|
||||
:test #'mu4e~draft-address-cell-equal)))
|
||||
(if mu4e-compose-dont-reply-to-self
|
||||
|
|
Loading…
Reference in New Issue