             if isMachineShared user, machine
             then successFn()
             else failureFn()
+
+          ->
+
+            return filterQueue.fin()  unless workspace.channelId
+
+            successFn = makeSuccessFn addCollaborationFn
+
+            options = {client, user, workspace, successFn, failureFn}
+            filterCollaborationWorkspace options
         ]
 
         dash filterQueue, -> workspaceQueue.fin()

    data =
      own: []
      shared: []

    client.connection.delegate.fetchUser (err, user) ->


JMachine   = require './computeproviders/machine'
JWorkspace = require './workspace'

SocialChannel = require './socialapi/channel'

KodingError = require '../error'

