Only start if user is in group chat.

This commit is contained in:
Martin Edenhofer 2015-11-12 10:35:21 +01:00
parent a0169db600
commit c2aea9ecc6

View file

@ -10,6 +10,8 @@ class App.CustomerChat extends App.Controller
constructor: ->
super
return if !@isRole('Chat')
@i = 0
@chatWindows = {}
@totalQuestions = 7