     @on 'ParticipantWatched',   @bound 'decorateWatchedAvatars'
     @on 'ParticipantUnwatched', @bound 'decorateUnwatchedAvatars'
 
-    { mainController, router } = kd.singletons
+    { mainController, router, appManager } = kd.singletons
     collabDisabled = mainController.isFeatureDisabled 'collaboration'
 
     @addSubView @status = new KDCustomHTMLView cssClass : 'status'

      href     : "#{kd.singletons.router.getCurrentPath()}/share"
      title    : 'Loading'
      cssClass : 'share fr hidden'
      click    : (event) ->
        kd.utils.stopDOMEvent event
        return  if @hasClass 'loading'
        appManager.tell 'IDE', 'showChat'  unless collabDisabled

    @addSubView @avatars = new KDCustomHTMLView cssClass : 'avatars fr'


    super options, data

    @participantAvatars = {}

    @on 'ShowAvatars',          @bound 'showAvatars'
