|
|
|
|
@ -1220,11 +1220,13 @@ class ZoomPlugin extends Plugin |
|
|
|
|
//if ('true' === $this->get('enableParticipantRegistration') && $meeting->requiresRegistration()) { |
|
|
|
|
// the participant must be registered |
|
|
|
|
$registrant = $meeting->getRegistrant($currentUser); |
|
|
|
|
if (null !== $registrant) { |
|
|
|
|
if (null == $registrant) { |
|
|
|
|
throw new Exception($this->get_lang('YouAreNotRegisteredToThisMeeting')); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// the participant is registered |
|
|
|
|
return $registrant->getCreatedRegistration()->join_url; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|