From b154691e62c2274c49024619e0e685d0b53577d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 22 Nov 2021 16:49:55 +0100 Subject: [PATCH] Pass activity link to notification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/NotificationGenerator.php | 4 ++++ 1 file changed, 4 insertions(+) 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; }