rfc2368 has been deprecated, switch to message

This commit is contained in:
TEC 2021-10-04 16:15:59 +08:00
parent d5686ee360
commit 5929497859
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 1 deletions

View File

@ -4703,7 +4703,7 @@ We also want to define ~mu4e-compose-from-mailto~.
(defun mu4e-compose-from-mailto (mailto-string &optional quit-frame-after)
(require 'mu4e)
(unless mu4e~server-props (mu4e t) (sleep-for 0.1))
(let* ((mailto (rfc2368-parse-mailto-url mailto-string))
(let* ((mailto (message-parse-mailto-url mailto-string))
(to (cdr (assoc "To" mailto)))
(subject (or (cdr (assoc "Subject" mailto)) ""))
(body (cdr (assoc "Body" mailto)))