open public chat on join (desktop / tablet)
This commit is contained in:
parent
86c7e745c5
commit
f5a928e22e
@ -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', '');
|
||||
|
||||
|
@ -119,12 +119,11 @@ class NavBar extends PureComponent {
|
||||
}
|
||||
|
||||
handleToggleUserList() {
|
||||
this.pannel = 'userlist';
|
||||
Session.set(
|
||||
'openPanel',
|
||||
Session.get('openPanel') !== ''
|
||||
? ''
|
||||
: this.panel,
|
||||
: 'userlist',
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user