diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 6e9ed9366..2308edef3 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -198,6 +198,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); } }