Skip to content

Commit 043f38a

Browse files
juliusknorrartonge
authored andcommitted
Pass activity link to notification
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 39e4e0d commit 043f38a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/NotificationGenerator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ private function getNotificationForEvent(IEvent $event, int $activityId): INotif
7474
$notification->setMessage($event->getMessage());
7575
}
7676

77+
if ($event->getLink()) {
78+
$notification->setLink($event->getLink());
79+
}
80+
7781
return $notification;
7882
}
7983

0 commit comments

Comments
 (0)