Browse Source

Respect the 5min chat enabled buffer. Closes #1661

pull/1678/head
Gabe Kangas 4 years ago
parent
commit
08586eaa0e
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 4
      webroot/js/app.js

4
webroot/js/app.js

@ -723,9 +723,7 @@ export default class App extends Component { @@ -723,9 +723,7 @@ export default class App extends Component {
const noVideoContent =
!playerActive || (section === ROUTE_RECORDINGS && sectionId !== '');
const shouldDisplayChat =
displayChatPanel && !chatDisabled && !noVideoContent;
const usernameStyle = chatDisabled ? 'none' : 'flex';
// const shouldDisplayChat = displayChatPanel && canChat && !chatDisabled;
displayChatPanel && !chatDisabled && chatInputEnabled;
const extraAppClasses = classNames({
'config-loading': configData.loading,

Loading…
Cancel
Save