From 055fe7ce8eea844cbdd28464e6d5932e2c84af5f Mon Sep 17 00:00:00 2001 From: sterni Date: Sat, 10 Apr 2021 01:51:26 +0200 Subject: fix(panettone): always use displayname in subjects Emails for (re)opening and closing where send out with the user's DN in the subject which is probably not what we want. Using displayname-if-known is probably not necessary as there is not really a case where (not *user*) wouldn't justify a 500 in this context. Change-Id: Id12d3d9619f42eb5337c2d3482b7c1646b5d6a81 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2911 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/panettone/src/panettone.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web') diff --git a/web/panettone/src/panettone.lisp b/web/panettone/src/panettone.lisp index 2f15dbff0a..3d803e1fb6 100644 --- a/web/panettone/src/panettone.lisp +++ b/web/panettone/src/panettone.lisp @@ -592,7 +592,7 @@ given subject an body (in a thread, to avoid blocking)" :subject (format nil "b/~A: \"~A\" closed by ~A" id (subject issue) - (dn *user*)) + (displayname *user*)) :message (link-to-issue id))) (hunchentoot:redirect (format nil "/issues/~A" id))) @@ -616,7 +616,7 @@ given subject an body (in a thread, to avoid blocking)" :subject (format nil "b/~A: \"~A\" reopened by ~A" id (subject issue) - (dn *user*)) + (displayname *user*)) :message (link-to-issue id))) (hunchentoot:redirect (format nil "/issues/~A" id))) -- cgit 1.4.1