When replying to self, use :from field of original message

Simple patch to fix #2403
This commit is contained in:
Stephen Eglen 2023-01-14 22:41:31 +00:00 committed by GitHub
parent cd10cd2534
commit 20fe650714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ You can append flags."
;; When we're replying to ourselves, simply keep the same headers.
(concat
(mu4e~draft-header "To" (mu4e~draft-recipients-list-to-string
(mu4e-message-field origmsg :to)))
(mu4e-message-field origmsg :from)))
(mu4e~draft-header "Cc" (mu4e~draft-recipients-list-to-string
(mu4e-message-field origmsg :cc))))