Skip to content

Commit

Permalink
fix(mail): Use parsed action label in email notification
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Mar 5, 2024
1 parent 7e177b8 commit 2e4b3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MailNotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2e4b3e0

Please sign in to comment.