diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 63a886289..0b273a5ac 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -231,6 +231,11 @@ private function prepareActions(INotification $notification): void { break; } + // notifications created before the links were made absolute still store relative links + if (str_starts_with($action->getLink(), '/')) { + $action->setLink($this->urlGenerator->getAbsoluteURL($action->getLink()), $action->getRequestType()); + } + $notification->addParsedAction($action); } }