Chats

    @if ($this->chats) @forelse ($this->chats as $item) @empty

    No Chats Session

    @endforelse @else

    No Chats Available

    @endif
@if ($reciever)

{{ $reciever->name }}

Online
@endif
@if ($this->chat_session) @foreach ($this->chat_session->message as $item) @if ($item->user_id == Auth::id())

{{ $item->message }}

@else

{{ $item->message }}

@endif @endforeach @else

No Chat Selected

@endif
@if ($reciever)
@endif
@push('css') @endpush