mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
group collaborating notification
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -924,6 +924,7 @@ class RecordService
|
||||
return [
|
||||
Notification::TYPE_NOTE,
|
||||
Notification::TYPE_USER_REACTION,
|
||||
Notification::TYPE_COLLABORATING,
|
||||
'EventAttendee',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user