 
     id = @channelId or @workspaceData.channelId
 
-    KD.singletons.socialapi.cacheable 'channel', id, (err, channel) =>
+    kd.singletons.socialapi.cacheable 'channel', id, (err, channel) =>
       return callback err  if err
 
       @setSocialChannel channel

      if @channelId          then id = @channelId
      else if @socialChannel then id = @socialChannel.id
      else
        return KD.showError 'social channel id is not provided'

    hostName = if @amIHost then KD.nick() else @collaborationHost

    return "#{hostName}.#{id}"



  forceQuitCollaboration: ->

    { Collaboration } = remote.api
    Collaboration.stop @rtmFileId, @workspaceData, (err) =>

      return warn err  if err

      kd.utils.killRepeat @pingInterval

      @stopCollaborationSession =>
        @quit()
