     setMachineUser @mountedMachine, usernames, share, (err) =>
       return callback err  if err
 
-      @broadcastMachineUserChange usernames, share
+      @emit 'SetMachineUser', usernames, share
 
       callback null
 

  onCollaborationEnding: ->

    @chat.settingsPane.endSession.disable()

    if @amIHost
      @endCollaborationForHost =>


  broadcastMachineUserChange: (participants, state) ->

    type = "#{if state then 'Set' else 'Unset'}MachineUser"

    @broadcastMessage {type, participants}
