@if($chat->type === 'group')
@else
@endif
{{ $chat->subject }}
@if(!$chat->is_active)
Disabled
@endif
@if($chat->messages->count() > 0)
{{ Str::limit($chat->messages->first()->content, 60) }}
@else
No messages yet
@endif
{{ $chat->participants->count() }} participant{{ $chat->participants->count() !== 1 ? 's' : '' }}
{{ $chat->updated_at->diffForHumans() }}