mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
notificaiton: improve NotificationHandlerInterface + mark notification
as unread if a comment is appended
This commit is contained in:
@@ -25,7 +25,7 @@ final class ActivityNotificationHandler implements NotificationHandlerInterface
|
||||
$this->activityRepository = $activityRepository;
|
||||
}
|
||||
|
||||
public function getTemplate(array $options = []): string
|
||||
public function getTemplate(Notification $notification, array $options = []): string
|
||||
{
|
||||
return '@ChillActivity/Activity/showInNotification.html.twig';
|
||||
}
|
||||
|
Reference in New Issue
Block a user