]> git.mxchange.org Git - friendica.git/commitdiff
Notification link for direct comment fixed
authorMichael <heluecht@pirati.ca>
Sun, 4 Jun 2023 16:26:58 +0000 (16:26 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 4 Jun 2023 16:26:58 +0000 (16:26 +0000)
src/Navigation/Notifications/Factory/Notification.php

index e4a9eab8e95c0058dab7ef06d485cb82fd3f17a7..e6bbc18c58d681e950010734b6df65f5c292a282 100644 (file)
@@ -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;
                                }
                        }