aboutsummaryrefslogtreecommitdiffhomepage
path: root/routes/notifications.php
diff options
context:
space:
mode:
Diffstat (limited to 'routes/notifications.php')
-rw-r--r--routes/notifications.php3
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
]);
}