@extends('backEnd.master') @section('title') @lang('common.file') @endsection @section('mainContent')

@lang('chat::chat.chat_list')

@if(userPermission(902)) @lang('chat::chat.new_chat') @endif

{{ $name }}'s Files

@forelse($messages as $message)
@if($message->message_type == 1) @elseif( in_array($message->message_type, [2,3]) ) @if($type == 'group') {{ $message->original_file_name }} @else {{ $message->original_file_name }} @endif @else
@endif
@empty

@lang('chat::chat.no_file_found')!

@endforelse
@endsection