 
     buffer = @buffer = @editor.buffer
 
+    # client auth
     @pusher = new Pusher @app_key,
       authTransport: 'client'
       clientAuth:

    @pairingChannel.trigger 'client-disconnected', {colour: @markerColour}
    setTimeout((=>
      @pusher.disconnect()
      @editorListeners.dispose()
      )
    ,500)
    _.each @friendColours, (colour) => @clearMarkers(colour)
    atom.views.getView(@editor).removeAttribute('id')
    @hidePanel()


  shareCurrentFile: (buffer) ->
    currentFile = buffer.getText()
    return if currentFile.length is 0

    if currentFile.length < 950
      @pairingChannel.trigger 'client-share-whole-file', currentFile
    else
      chunks = chunkString(currentFile, 950)
