mirror of https://github.com/sualko/cloud_bbb
fix: join failure
due to creation time converted to string in scientific notation. This happens only on some systems.pull/109/head
parent
3840ca6a2d
commit
58cb016f28
|
@ -83,7 +83,8 @@ class API {
|
||||||
|
|
||||||
$joinMeetingParams = new JoinMeetingParameters($room->uid, $displayname, $password);
|
$joinMeetingParams = new JoinMeetingParameters($room->uid, $displayname, $password);
|
||||||
|
|
||||||
$joinMeetingParams->setCreationTime($creationTime);
|
// ensure that float is not converted to a string in scientific notation
|
||||||
|
$joinMeetingParams->setCreationTime(sprintf("%.0f", $creationTime));
|
||||||
$joinMeetingParams->setJoinViaHtml5(true);
|
$joinMeetingParams->setJoinViaHtml5(true);
|
||||||
$joinMeetingParams->setRedirect(true);
|
$joinMeetingParams->setRedirect(true);
|
||||||
$joinMeetingParams->setGuest($uid === null);
|
$joinMeetingParams->setGuest($uid === null);
|
||||||
|
|
Loading…
Reference in New Issue