fetchInvitedParticipants method

void fetchInvitedParticipants({
  1. bool silent = false,
})

Implementation

void fetchInvitedParticipants({bool silent = false}) {
  if (!isHost() && !isCoHost()) return;
  if (!isInviteParticipantEnabled) return;
  networkRequestHandler(
    apiCall: () => apiClient.getInvitedParticipants(
        selfIdentity, meetingDetails.meetingUid),
    onSuccess: (data) =>
        _applyInvitedParticipants(data?.invitedParticipants ?? []),
    onError: silent ? null : (message) => sendMessageToUI(message),
  );
}