Skip to content

Commit f131492

Browse files
Merge pull request #1842 from nextcloud/backport/1840/stable27
[stable27] fix(mail): Use parsed action label in email notification
2 parents 7e177b8 + 2e4b3e0 commit f131492

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/MailNotifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ protected function prepareEmailMessage(string $uid, array $notifications, string
287287
$actions = $notification->getParsedActions();
288288
foreach ($actions as $action) {
289289
if ($action->getRequestType() === IAction::TYPE_WEB) {
290-
$template->addBodyButton($action->getLabel(), $action->getLink());
290+
$template->addBodyButton($action->getParsedLabel(), $action->getLink());
291291
}
292292
}
293293
} catch (\Throwable $e) {

0 commit comments

Comments
 (0)