@foreach($conversations as $conversation)
@endforeach
@if($conversation->users->where('id', auth()->user()->id)->first()->pivot->unread)
@endif
@if($conversation->isPrivate())
@if($conversation->recipient()->avatar)
@else
@endif
@else
@endif
{{ $conversation->recipient()->name }}
{!! !$conversation->isPrivate() ? '+' . ($conversation->users->count() - 2) . ' ' . __('more') . '' : '' !!}
{{ $conversation->messages->count() }} {{ __('messages') }}
{{ $conversation->latest ? $conversation->latest->created_at->format('j F Y H:i:s') : '' }}