     SocialMessage : 'slug'
     SocialChannel : 'name'
 
-
   revive = (data) ->
 
     return switch data.typeConstant

      KD.utils.stopDOMEvent event
      KD.singletons.mainView.openMachineModal machine, machineItem

    else

      {Running, Stopped} = Machine.State

      unless machineItem.machine.status.state is Running
        KD.utils.stopDOMEvent event
        @machineTree.deselectNode machineItem
        KD.singletons.mainView.openMachineModal machine, machineItem


  addFollowedTopics: ->

    @itemsBySlug  = {}
    @itemsByName  = {}
    @selectedItem = null

    # @appsList = new DockController

    notificationController
      .on 'AddedToChannel',            @bound 'accountAddedToChannel'
