@use('Namu\WireChat\Facades\WireChat')

{{__('wirechat::new.chat.labels.heading') }}

{{-- New Group button --}} @if (WireChat::showNewGroupModalButton() && auth()->user()->canCreateGroups()) {{-- Buton to trigger opening of new grop modal --}} @endif {{--
Recent Chats
--}}
@if (count($users)!=0)
    @foreach ($users as $key => $user)
  • {{ $user->display_name }}

    @php $location = $user->getLocationFirst(); @endphp @if ($location && isset($location['name_short'])) {{ $location['name_short'] }} @endif
  • @endforeach
@else @if (!empty($search)) @lang('wirechat::new.chat.messages.empty_search_result') @endif @endif