diff --git a/CHANGES b/CHANGES index 34480d997..697848b4f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2.3.5 (2019042010) +Bug: Fix for issue with users joining meetings with static URLs. + 2.3.4 (2019042009) Bug: Fix for issue with wrong role ids in Website Administration (CONTRIB-8047). Bug: Fix for issue with notification when activity is updated not respecting enrolment status (CONTRIB-8046). diff --git a/RELEASENOTES b/RELEASENOTES index 34878b2ce..d15725b06 100644 --- a/RELEASENOTES +++ b/RELEASENOTES @@ -1,3 +1,6 @@ +2.3.5 (2019042010) +Bug: Fix for issue with users joining meetings with static URLs. + 2.3.4 (2019042009) Bug: Fix for issue with wrong role ids in Website Administration (CONTRIB-8047). Bug: Fix for issue with notification when activity is updated not respecting enrolment status (CONTRIB-8046). diff --git a/bbb_view.php b/bbb_view.php index bce703f21..db6ae8dbe 100644 --- a/bbb_view.php +++ b/bbb_view.php @@ -415,7 +415,7 @@ function bigbluebutton_bbb_view_join_meeting($bbbsession, $bigbluebuttonbn, $ori $password = $bbbsession['modPW']; } $joinurl = bigbluebuttonbn_get_join_url($bbbsession['meetingid'], $bbbsession['username'], - $password, $bbbsession['logoutURL'], null, $bbbsession['userID'], $bbbsession['clienttype']); + $password, $bbbsession['logoutURL'], null, $bbbsession['userID'], $bbbsession['clienttype'], $meetinginfo['createTime']); // Moodle event logger: Create an event for meeting joined. bigbluebuttonbn_event_log(\mod_bigbluebuttonbn\event\events::$events['meeting_join'], $bigbluebuttonbn); // Internal logger: Instert a record with the meeting created. diff --git a/locallib.php b/locallib.php index 744a8643c..ac64a350b 100644 --- a/locallib.php +++ b/locallib.php @@ -101,7 +101,7 @@ * @return string */ function bigbluebuttonbn_get_join_url($meetingid, $username, $pw, $logouturl, $configtoken = null, - $userid = null, $clienttype = BIGBLUEBUTTON_CLIENTTYPE_FLASH) { + $userid = null, $clienttype = BIGBLUEBUTTON_CLIENTTYPE_FLASH, $createtime = null) { $data = ['meetingID' => $meetingid, 'fullName' => $username, 'password' => $pw, @@ -117,6 +117,9 @@ function bigbluebuttonbn_get_join_url($meetingid, $username, $pw, $logouturl, $c if (!is_null($userid)) { $data['userID'] = $userid; } + if (!is_null($createtime)) { + $data['createTime'] = $createtime; + } return \mod_bigbluebuttonbn\locallib\bigbluebutton::action_url('join', $data); } diff --git a/version.php b/version.php index ffa853dd2..6522b6775 100644 --- a/version.php +++ b/version.php @@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2019042009; +$plugin->version = 2019042010; $plugin->requires = 2016120500; $plugin->cron = 0; $plugin->component = 'mod_bigbluebuttonbn'; $plugin->maturity = MATURITY_STABLE; -$plugin->release = '2.3.4'; +$plugin->release = '2.3.5';