Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Pass activity link to notification
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Nov 23, 2021
commit b154691e62c2274c49024619e0e685d0b53577d9
4 changes: 4 additions & 0 deletions lib/NotificationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down