@php $authIsAdminInGroup= $participant?->isAdmin(); $authIsOwner= $participant?->isOwner(); $isGroup= $conversation?->isGroup(); $activeProfileType = getActiveProfileType(); $activeProfile = getActiveProfile(); $showSyncButton = ($authIsAdminInGroup || $authIsOwner) && in_array($activeProfileType, ['Organization', 'Bank', 'Admin']) && $activeProfile !== null; @endphp
{{-- Sync confirmation modal --}} @if($showSyncButton) @endif

{{__('wirechat::chat.group.members.heading.label')}}

{{-- Sync linked members button --}} @if($showSyncButton)
@endif {{-- Search --}}
{{--
Recent Chats
--}}
@if (count($participants)!=0)
    @foreach ($participants as $key => $participant) @php $loopParticipantIsAuth = $participant->participantable_id == auth()->id() && $participant->participantable_type == auth()->user()->getMorphClass(); @endphp
  • @endforeach
{{-- Load more button --}} @if ($canLoadMore)
@endif @else {{__('wirechat::chat.group.members.labels.no_members_found')}} @endif