From 2e4b3e0419556049b2eedd7f21cb14b6045122dc Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 5 Mar 2024 10:38:54 +0100 Subject: [PATCH] fix(mail): Use parsed action label in email notification Signed-off-by: Joas Schilling --- lib/MailNotifications.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MailNotifications.php b/lib/MailNotifications.php index ef7ff2488..d14c48ba4 100644 --- a/lib/MailNotifications.php +++ b/lib/MailNotifications.php @@ -287,7 +287,7 @@ protected function prepareEmailMessage(string $uid, array $notifications, string $actions = $notification->getParsedActions(); foreach ($actions as $action) { if ($action->getRequestType() === IAction::TYPE_WEB) { - $template->addBodyButton($action->getLabel(), $action->getLink()); + $template->addBodyButton($action->getParsedLabel(), $action->getLink()); } } } catch (\Throwable $e) {