better target for message notifications
This commit is contained in:
@@ -177,6 +177,11 @@ class ActivityService
|
||||
return route('dynamics.ledgers.show', [$entity->dynamic->uuid, $entity->uuid]);
|
||||
}
|
||||
|
||||
if ($entity instanceof Message) {
|
||||
$subject = $entity->subject;
|
||||
return $this->getUrlForEntity($subject);
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user