Minor - Plugins - Zoom - comment approval_type cannot be change

BT#17288
pull/3446/head
Julio Montoya 5 years ago
parent 1589992659
commit 5ea9f7edb4
  1. 2
      plugin/zoom/lib/ZoomPlugin.php

@ -1223,7 +1223,7 @@ class ZoomPlugin extends Plugin
private function startInstantMeeting($topic, $user = null, $course = null, $group = null, $session = null)
{
$meetingInfoGet = MeetingInfoGet::fromTopicAndType($topic, MeetingInfoGet::TYPE_INSTANT);
$meetingInfoGet->settings->approval_type = MeetingSettings::APPROVAL_TYPE_AUTOMATICALLY_APPROVE;
//$meetingInfoGet->settings->approval_type = MeetingSettings::APPROVAL_TYPE_AUTOMATICALLY_APPROVE;
$meeting = $this->createMeetingFromMeeting(
(new Meeting())
->setMeetingInfoGet($meetingInfoGet)

Loading…
Cancel
Save