@php $contact = $conversation->contact; $lastMessage = $conversation->latestMessage; $initial = mb_substr((string) ($contact?->name ?: $contact?->phone ?: '?'), 0, 1); @endphp