OK I figured it out for anyone interested.
remove all duplicates, e.g. remove owner if already following
$users = $users->unique('id');
if current user is following remove them
$users = $users->reject(function ($value, $key) { return $value->id == Auth::user()->id; });
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community