     @cleanupCollaboration()
 
 
-  endCollaborationForParticipant: (callbacks) ->
+  endCollaborationForParticipant: (callback) ->
 
     @broadcastMessage { type: 'ParticipantWantsToLeave' }
 

    @setMachineUser [nick()], no, =>
      throwError err  if err

    callbacks.success()


  handleCollaborationEndedForParticipant: ->

      envHelpers.detachSocialChannel @workspaceData, (err) =>
        throwError err  if err

    callback()


  handleCollaborationEndedForHost: ->
