mirror of https://github.com/sualko/cloud_bbb
parent
1b6a20e3ca
commit
bc3f64c4c3
|
@ -94,9 +94,11 @@ class API {
|
||||||
$joinMeetingParams->addUserData('bbb_skip_check_audio_on_first_join', !$room->getMediaCheck()); // 2.3
|
$joinMeetingParams->addUserData('bbb_skip_check_audio_on_first_join', !$room->getMediaCheck()); // 2.3
|
||||||
$joinMeetingParams->addUserData('bbb_skip_video_preview_on_first_join', !$room->getMediaCheck()); // 2.3
|
$joinMeetingParams->addUserData('bbb_skip_video_preview_on_first_join', !$room->getMediaCheck()); // 2.3
|
||||||
|
|
||||||
$joinMeetingParams->addUserData('bbb_auto_swap_layout', $room->getCleanLayout());
|
if ($room->getCleanLayout()) {
|
||||||
$joinMeetingParams->addUserData('bbb_show_participants_on_login', !$room->getCleanLayout());
|
$joinMeetingParams->addUserData('bbb_auto_swap_layout', true);
|
||||||
$joinMeetingParams->addUserData('bbb_show_public_chat_on_login', !$room->getCleanLayout());
|
$joinMeetingParams->addUserData('bbb_show_participants_on_login', false);
|
||||||
|
$joinMeetingParams->addUserData('bbb_show_public_chat_on_login', false);
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->config->getAppValue('bbb', 'join.theme') === 'true') {
|
if ($this->config->getAppValue('bbb', 'join.theme') === 'true') {
|
||||||
$primaryColor = $this->defaults->getColorPrimary();
|
$primaryColor = $this->defaults->getColorPrimary();
|
||||||
|
|
Loading…
Reference in New Issue