From 08586eaa0e803f72f002b8ec6ba0c90b74ee8400 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 13 Jan 2022 13:37:23 -0800 Subject: [PATCH] Respect the 5min chat enabled buffer. Closes #1661 --- webroot/js/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webroot/js/app.js b/webroot/js/app.js index 4ad2dacc8..c83d6ca7c 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -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,