Fix decoding error in ietf-drums-parse-address

* lisp/mail/ietf-drums.el (ietf-drums-parse-address): Don't try to
decode the name if there is no name (bug#53716).
This commit is contained in:
Lars Ingebrigtsen 2022-02-02 19:07:01 +01:00
parent 27c93778ef
commit d34dd869d2

View file

@ -240,7 +240,7 @@ If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed
(cons
(mapconcat #'identity (nreverse display-name) "")
(ietf-drums-get-comment string)))
(cons mailbox (if decode
(cons mailbox (if (and decode display-string)
(rfc2047-decode-string display-string)
display-string))))))