From 94933daf14741ba234919fd40f904ae8a510d526 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 4 Jun 2023 16:26:58 +0000 Subject: [PATCH] Notification link for direct comment fixed --- src/Navigation/Notifications/Factory/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navigation/Notifications/Factory/Notification.php b/src/Navigation/Notifications/Factory/Notification.php index e4a9eab8e..e6bbc18c5 100644 --- a/src/Navigation/Notifications/Factory/Notification.php +++ b/src/Navigation/Notifications/Factory/Notification.php @@ -171,7 +171,7 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow } } - if (($Notification->verb != Activity::POST) || !in_array($Notification->type, [Post\UserNotification::TYPE_DIRECT_THREAD_COMMENT, Post\UserNotification::TYPE_IMPLICIT_TAGGED])) { + if (($Notification->verb != Activity::POST) || !in_array($Notification->type, [Post\UserNotification::TYPE_DIRECT_THREAD_COMMENT, Post\UserNotification::TYPE_IMPLICIT_TAGGED, Post\UserNotification::TYPE_DIRECT_COMMENT])) { $link_item = $item; } }