From e3ec9853b3901a786bac1f30ed28c0a16dbe894f Mon Sep 17 00:00:00 2001 From: Joao Siebel Date: Wed, 1 Aug 2018 14:03:12 -0300 Subject: [PATCH] change public chat id for unread messages search --- .../imports/ui/components/nav-bar/container.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/nav-bar/container.jsx b/bigbluebutton-html5/imports/ui/components/nav-bar/container.jsx index a2c025fca6..f9ef5610db 100755 --- a/bigbluebutton-html5/imports/ui/components/nav-bar/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/nav-bar/container.jsx @@ -11,7 +11,7 @@ import Service from './service'; import NavBar from './component'; const PUBLIC_CONFIG = Meteor.settings.public; -const PUBLIC_CHAT_KEY = PUBLIC_CONFIG.chat.public_id; +const PUBLIC_GROUP_CHAT_ID = PUBLIC_CONFIG.chat.public_group_id; const CLIENT_TITLE = PUBLIC_CONFIG.app.clientTitle; const NavBarContainer = ({ children, ...props }) => ( @@ -45,7 +45,7 @@ export default withRouter(withTracker(({ location, router }) => { return users .map(user => user.id) .filter(userID => userID !== Auth.userID) - .concat(PUBLIC_CHAT_KEY) + .concat(PUBLIC_GROUP_CHAT_ID) .some(receiverID => ChatService.hasUnreadMessages(receiverID)); };