open public chat on join (desktop / tablet)

This commit is contained in:
KDSBrowne 2018-12-18 15:47:47 +00:00
parent 86c7e745c5
commit f5a928e22e
2 changed files with 2 additions and 3 deletions

View File

@ -113,7 +113,7 @@ class JoinHandler extends Component {
setLogoURL(response);
logUserInfo();
Session.set('openPanel', 'userlist');
Session.set('openPanel', 'chat');
Session.set('idChatOpen', '');
if (deviceInfo.type().isPhone) Session.set('openPanel', '');

View File

@ -119,12 +119,11 @@ class NavBar extends PureComponent {
}
handleToggleUserList() {
this.pannel = 'userlist';
Session.set(
'openPanel',
Session.get('openPanel') !== ''
? ''
: this.panel,
: 'userlist',
);
}