     if preferences && preferences.chat && preferences.chat.max_windows
       @maxChatWindows = parseInt(preferences.chat.max_windows)
 
-    @pushStateStarted = false
+    @pushStateIntervalOn = undefined
     @messageCounter = 0
     @meta =
       active: false

      App.WebSocket.send(event:'chat_status_agent')
    )

  pushState: =>
    App.WebSocket.send(
      event:'chat_agent_state'

        label: label
        time: time

  addStatusMessage: (message, args) ->
    @body.append App.view('customer_chat/chat_status_message')
      message: message
      args: args

    @scrollToBottom()

