• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/ical/mailinvitation/incominginvitationrequesthandler.php
  • Класс: BitrixCalendarICalMailInvitationIncomingInvitationRequestHandler
  • Вызов: IncomingInvitationRequestHandler::updateChildEvent
protected function updateChildEvent(array $updatedEvent): bool
{
	$preparedEvent['MEETING']['MAILTO'] = $this->organizer['EMAIL'] ?? $this->emailTo;

	if ($this->icalComponent->getEvent()->getAttendees())
	{
		$preparedEvent['DESCRIPTION'] .= "rn"
			. Loc::getMessage('EC_EDEV_GUESTS') . ": "
			. $this->parseAttendeesForDescription($this->icalComponent->getEvent()->getAttendees());
	}

	if ($this->icalComponent->getEvent()->getAttachments())
	{
		$preparedEvent['DESCRIPTION'] .= "rn"
			. Loc::getMessage('EC_FILES_TITLE') . ': '
			. $this->parseAttachmentsForDescription($this->icalComponent->getEvent()->getAttachments());
	}

	CCalendar::SaveEvent([
		'arFields' => $updatedEvent,
	]);
	return true;
}