@php($authed = request()->user())
@php($pid = $authed ? request()->user()->profile_id : null)
@php($gp = $status->parent()->parent())
@if($gp)
@if(
!in_array($gp->scope, ['public', 'unlisted', 'private']) ||
($gp->scope == 'private' && !$authed) ||
($gp->scope == 'private' && ($gp->profile_id != $pid && \App\Services\FollowerService::follows($pid, $gp->profile_id) == false))
)
This status cannot be viewed at this time.
@else
@if($gp->media()->count())
}})
@endif
@endif
@if(
!in_array($parent->scope, ['public', 'unlisted', 'private']) ||
($parent->scope == 'private' && !$authed) ||
($parent->scope == 'private' && ($parent->profile_id != $pid && \App\Services\FollowerService::follows($pid, $parent->profile_id) == false))
)
This status cannot be viewed at this time.
@else
@if($parent->media()->count())
}})
@endif
@endif
@if($status->comments()->first()->media()->count())
->first()->thumb()}})
@endif