fix(panettone): Correctly extract user email

Change-Id: I30c83f93006eed63c20440faf7118c8d22c1a239
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5783
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-05-28 20:34:06 +02:00 committed by clbot
parent 1fbed8e317
commit 8b01911e94

View file

@ -42,7 +42,7 @@ values of `*smtp-server*', `*smtp-server-port*' and `*email-notification-from*'"
MESSAGE, iff that user has not disabled email notifications"
(when (user-has-email-notifications-enabled-p dn)
(when-let* ((user (find-user-by-dn dn))
(user-mail user))
(user-mail (mail user)))
(send-email-notification
:to user-mail
:subject subject