diff --git a/lib/NotificationGenerator.php b/lib/NotificationGenerator.php index dc1f971d7..bf1c008fc 100644 --- a/lib/NotificationGenerator.php +++ b/lib/NotificationGenerator.php @@ -74,6 +74,10 @@ private function getNotificationForEvent(IEvent $event, int $activityId): INotif $notification->setMessage($event->getMessage()); } + if ($event->getLink()) { + $notification->setLink($event->getLink()); + } + return $notification; }