From 28d31f9b8c2255769a2842e5e43838d4aa62e77e Mon Sep 17 00:00:00 2001
From: Oleksandr Zhurbenko
Date: Mon, 29 Jun 2015 09:54:02 -0700
Subject: [PATCH] Fixed a bug with notifications' appearing on relogin
---
bigbluebutton-html5/app/client/globals.coffee | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/bigbluebutton-html5/app/client/globals.coffee b/bigbluebutton-html5/app/client/globals.coffee
index d184d489a1..7f492b8cf7 100755
--- a/bigbluebutton-html5/app/client/globals.coffee
+++ b/bigbluebutton-html5/app/client/globals.coffee
@@ -382,12 +382,11 @@ Handlebars.registerHelper 'whiteboardSize', (section) ->
else
setInSession 'display_usersList', false
setInSession 'display_menu', false
- if not getInSession "chats"
- initChats = [
- userId: "PUBLIC_CHAT"
- gotMail: false
- ]
- setInSession 'chats', initChats
+ initChats = [
+ userId: "PUBLIC_CHAT"
+ gotMail: false
+ ]
+ setInSession 'chats', initChats
TimeSync.loggingEnabled = false # suppresses the log messages from timesync
@onLoadComplete = ->