diff options
| author | winter | 2025-01-26 19:47:22 +0000 |
|---|---|---|
| committer | winter | 2025-01-26 19:47:22 +0000 |
| commit | 7d3f35b1895dd3fe08af0f5fe403ff339acd2456 (patch) | |
| tree | 26c59b9b18793f9678cc115420762aa7695c2071 /routes | |
| parent | df5ead7bd4adac405811b91fed1e5f0b3775206b (diff) | |
send desktop notifications
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/notifications.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 ]); } |
