group collaborating notification

This commit is contained in:
Yurii
2026-04-07 09:14:43 +03:00
parent ef82743141
commit ea7bc69f4e
2 changed files with 3 additions and 0 deletions

View File

@@ -80,6 +80,8 @@ class CollaboratorsNotificator
'createdByName' => $this->user->getName(),
])
->setRelated(LinkParent::fromEntity($entity))
// Needed for grouping.
->setRelatedParent(LinkParent::fromEntity($entity))
->setActionId($params->getActionId());
$this->entityManager->saveEntity($notification);

View File

@@ -924,6 +924,7 @@ class RecordService
return [
Notification::TYPE_NOTE,
Notification::TYPE_USER_REACTION,
Notification::TYPE_COLLABORATING,
'EventAttendee',
];
}