1
0
Fork 0

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

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