@if($chatUser->profile_photo != "") @else @endif
{{ $chatUser->name }}
@if (Cache::has('is_online' . $chatUser->id))

{{ __('Active') }}

@else

{{ __('Deactivate') }}

@endif

{{ $chatUser->bio }}

{{ __('About') }}

{{ __('Name') }}

{{ $chatUser->name }}

{{ __('Email') }}

{{ $chatUser->email }}

{{ __('Time') }}

{{ $chatUser->created_at }}

{{ __('Location') }}

{{ $chatUser->city }}
@foreach ($messages as $message) @if ($message->file)
{{-- @if (strtolower(pathinfo($message->file, PATHINFO_EXTENSION)) == 'jpg' || strtolower(pathinfo($message->file, PATHINFO_EXTENSION)) == 'png' || strtolower(pathinfo($message->file, PATHINFO_EXTENSION)) == 'gif') --}}
{{-- --}}
{{ $message->message }}

{{-- @php echo App\Http\Controllers\Chats\WebHomeController::bytesToHuman(File::size(public_path($message->file))); @endphp --}}

{{-- @else
{{ $message->message }}

@php echo App\Http\Controllers\HomeController::bytesToHuman(File::size(public_path($message->file))); @endphp

@endif --}}
@endif @endforeach