Fixed a bug with notifications' appearing on relogin

This commit is contained in:
Oleksandr Zhurbenko 2015-06-29 09:54:02 -07:00
parent 33b2c8becd
commit 28d31f9b8c

View File

@ -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 = ->