Respect the 5min chat enabled buffer. Closes #1661

This commit is contained in:
Gabe Kangas
2022-01-13 13:37:23 -08:00
parent d262510469
commit 08586eaa0e

View File

@@ -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,