Skip to content
Snippets Groups Projects
Commit ea3926e8 authored by Martin Beckmann's avatar Martin Beckmann Committed by Martin Beckmann
Browse files

attempt to introduce an additional UserSettings parameter...

attempt to introduce an additional UserSettings parameter 'bbb_show_public_chat_on_login' as a co-parameter of 'bbb_show_participants_on_login' (the former intended to only have an effect if the latter is 'true')
parent d6956a55
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ const currentParameters = [
'bbb_auto_swap_layout',
'bbb_hide_presentation',
'bbb_show_participants_on_login',
'bbb_show_public_chat_on_login',
// OUTSIDE COMMANDS
'bbb_outside_toggle_self_voice',
'bbb_outside_toggle_recording',
......
......@@ -356,9 +356,9 @@ const BaseContainer = withTracker(() => {
if (getFromUserSettings('bbb_show_participants_on_login', true) && !deviceInfo.type().isPhone) {
Session.set('openPanel', 'userlist');
if (CHAT_ENABLED) {
//Session.set('openPanel', 'chat');
//Session.set('idChatOpen', PUBLIC_CHAT_ID);
if (CHAT_ENABLED && getFromUserSettings('bbb_show_public_chat_on_login', true)) {
Session.set('openPanel', 'chat');
Session.set('idChatOpen', PUBLIC_CHAT_ID);
}
} else {
Session.set('openPanel', '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment