Skip to content
Snippets Groups Projects
Unverified Commit ff6963e8 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #10921 from BrentBaccala/dont-reset-panel-defaults

Only set panel settings to login defaults on login, not everytime the…
parents ed00fdf9 8845998b
No related branches found
No related tags found
No related merge requests found
......@@ -385,13 +385,14 @@ const BaseContainer = withTracker(() => {
}
if (getFromUserSettings('bbb_show_participants_on_login', true) && !deviceInfo.type().isPhone) {
Session.set('openPanel', 'userlist');
if (CHAT_ENABLED && getFromUserSettings('bbb_show_public_chat_on_login', !Meteor.settings.public.chat.startClosed)) {
Session.set('openPanel', 'chat');
Session.set('idChatOpen', PUBLIC_CHAT_ID);
Session.setDefault('openPanel', 'chat');
Session.setDefault('idChatOpen', PUBLIC_CHAT_ID);
} else {
Session.setDefault('openPanel', 'userlist');
}
} else {
Session.set('openPanel', '');
Session.setDefault('openPanel', '');
}
const codeError = Session.get('codeError');
......
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