Don't use bug-originator with mu-header-decode.
authorRicardo Wurmus <rekado@elephly.net>
Sat, 1 Sep 2018 19:41:04 +0000 (21:41 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Sat, 1 Sep 2018 19:41:04 +0000 (21:41 +0200)
mumi/web/view/html.scm

index bb52376aa07958b84feec207b134da51594fc5f2..2b5b6bb03fba9183198e53204d9a33560a19f3fe 100644 (file)
        (span (@ (class "details"))
              ,(status-tag bug)
              ,(string-append "Submitted by "
-                             (extract-name (bug-originator bug))
+                             ;; We don't use bug-originator here
+                             ;; because it includes the email address.
+                             ;; We cannot use extract-name on the
+                             ;; return value, because it swallows
+                             ;; non-ASCII characters.
+                             (sender-name (first messages))
                              ".")))
       (div
        (@ (class "row"))