 
       when 'ParticipantWantsToLeave'
 
-        @unshareMachineAndKlient data.origin  if @amIHost
+        @statusBar.removeParticipantAvatar origin
 
       when 'ParticipantKicked'
 


    @showModal options, =>
      @broadcastMessages.push origin: KD.nick(), type: 'ParticipantWantsToLeave'
      @removeMachineNode()
      @modal.destroy()
      @rtm = null
      KD.singletons.socialapi.channel.leave channelId: @socialChannel.getId()
      KD.singletons.router.handleRoute '/IDE'


  removeMachineNode: ->


  setMachineUser: (accounts, share = yes, callback = noop) ->

    usernames = accounts.map (account) -> account.profile.nickname

    if @amIHost
      usernames = usernames.filter (username) -> username isnt KD.nick()

    return  unless usernames.length

