Notification link for direct comment fixed

This commit is contained in:
Michael 2023-06-04 16:26:58 +00:00
parent 1906ed00ae
commit 94933daf14
1 changed files with 1 additions and 1 deletions

View 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;
}
}