From 7d3f35b1895dd3fe08af0f5fe403ff339acd2456 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 26 Jan 2025 19:47:22 +0000 Subject: send desktop notifications --- routes/notifications.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'routes') diff --git a/routes/notifications.php b/routes/notifications.php index c7b9414..11a73fb 100644 --- a/routes/notifications.php +++ b/routes/notifications.php @@ -22,7 +22,8 @@ Router::getInstance()->mount('/notifications/partial', function (array $args) { 'body' => $notif->getNotificationBody(), 'imageUrl' => $notif->getNotificationImageUrl(), 'titleLink' => $notif->getNotificationTitleLink(), - 'imageLink' => $notif->getNotificationImageLink() + 'imageLink' => $notif->getNotificationImageLink(), + 'unread' => true ]); } -- cgit v1.3