mirror of https://github.com/djcb/mu.git
* mu4e-send.el: use the _last_ reference to determine the 'parent' message
This commit is contained in:
parent
28c6f2d8d7
commit
4c43ebdf2e
|
@ -410,7 +410,8 @@ This is meant to be called from message mode's
|
|||
(let ((refs))
|
||||
(while (re-search-forward "<[^ <]+@[^ <]+>" nil t)
|
||||
(push (match-string 0) refs))
|
||||
(setq forwarded-from (car-safe (last refs)))))))
|
||||
;; the last will the first
|
||||
(setq forwarded-from (first refs))))))
|
||||
;; remove the <>
|
||||
(when (and in-reply-to (string-match "<\\(.*\\)>" in-reply-to))
|
||||
(mu4e-proc-flag (match-string 1 in-reply-to) "+R"))
|
||||
|
|
Loading…
Reference in New Issue