diff options
author | Gabe Kangas <gabek@real-ity.com> | 2022-01-13 13:37:23 -0800 |
---|---|---|
committer | Gabe Kangas <gabek@real-ity.com> | 2022-01-13 13:37:23 -0800 |
commit | 08586eaa0e803f72f002b8ec6ba0c90b74ee8400 (patch) | |
tree | 81e9090c8bb10697ae411986da986cfae2a313c8 | |
parent | d262510469dcd762e0868c1181cd83ab0d6cb80c (diff) |
Respect the 5min chat enabled buffer. Closes #1661
-rw-r--r-- | webroot/js/app.js | 4 |
1 files changed, 1 insertions, 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, |