Admin
-
@foreach ($chat as $chat)
-
@if ($chat->from_id == Auth::user()->id) @if (Auth::user()->foto_profile == NULL)
@else
@endif @else
@endif
{{ $chat->pesan }}
{{ $chat->created_at }}
@endforeach