@php $authUserId = auth()->id(); @endphp @foreach ($conversation->messages as $key => $message) @if ($message->sender_id == $authUserId)