From: Michael Date: Sun, 4 Jun 2023 16:26:58 +0000 (+0000) Subject: Notification link for direct comment fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=94933daf14741ba234919fd40f904ae8a510d526;p=friendica.git Notification link for direct comment fixed --- diff --git a/src/Navigation/Notifications/Factory/Notification.php b/src/Navigation/Notifications/Factory/Notification.php index e4a9eab8e9..e6bbc18c58 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; } }