Merge pull request #13193 from annando/fix-notification-link

Notification link for direct comment fixed
This commit is contained in:
Hypolite Petovan 2023-06-04 12:38:51 -04:00 committed by GitHub
commit ec7e295158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
}