-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
The following lines of code do not allow you to use different actors aside from users using the user_feed as the following function is hard coded to use the user feed:
$this->userFeed = $this->config->get("stream-laravel::user_feed");
....
$feed = $this->getFeed($this->userFeed, $instance->activityActorId());
It should change based on if you set the following in the model:
public function activityActorMethodName()
{
return 'group';
}
The code should read like this instead:
$feed = $this->getFeed($instance->activityActorMethodName(), $instance->activityActorId());
| $feed = $this->getFeed($this->userFeed, $instance->activityActorId()); |
| $feed = $this->getFeed($this->userFeed, $instance->activityActorId()); |
Metadata
Metadata
Assignees
Labels
No labels