diff --git a/bigbluebutton-html5/imports/ui/components/chat/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/component.jsx index 898a82ec416873ad837b572f25395a27f641afae..2ed8d20b4741ee454f9b424755bb5358d6255f71 100755 --- a/bigbluebutton-html5/imports/ui/components/chat/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/component.jsx @@ -55,8 +55,8 @@ const Chat = (props) => { const userSentMessage = UserSentMessageCollection.findOne({ userId: Auth.userID, sent: true }); - const HIDE_CHAT_AK = shortcuts.hidePrivateChat; - const CLOSE_CHAT_AK = shortcuts.closePrivateChat; + const HIDE_CHAT_AK = shortcuts.hideprivatechat; + const CLOSE_CHAT_AK = shortcuts.closeprivatechat; ChatLogger.debug('ChatComponent::render', props); return ( <div @@ -75,7 +75,7 @@ const Chat = (props) => { window.dispatchEvent(new Event('panelChanged')); }} aria-label={intl.formatMessage(intlMessages.hideChatLabel, { 0: title })} - accessKey={HIDE_CHAT_AK} + accessKey={chatID !== 'public' ? HIDE_CHAT_AK : null} label={title} icon="left_arrow" className={styles.hideBtn}