branch: master
commit a0d8f4dd91369bb6e1a48931287328d580b4f8d1
Author: Lars Ingebrigtsen <[email protected]>
Commit: Lars Ingebrigtsen <[email protected]>

    Fix From addresses in debbugs-gnu
    
    * packages/debbugs/debbugs-gnu.el: Decode From addresses found in patches.
---
 packages/debbugs/debbugs-gnu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 498202f..b50f8fe 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -2492,8 +2492,8 @@ If SELECTIVELY, query the user before applying the patch."
                   (quoted-printable-decode-region (point-min) (point-max))))
            (setq patch-subject
                  (or (gnus-fetch-field "subject") patch-subject))
-           (setq patch-from
-                 (or (gnus-fetch-field "from") patch-from))
+           (when-let ((pf (gnus-fetch-field "from")))
+             (setq patch-from (mail-decode-encoded-address-string pf))
            (goto-char (point-min))
            (when (re-search-forward "^[*] " nil t)
              (let ((start (match-beginning 0)))

Reply via email to