     {delegate} = client.connection
     {nickname} = delegate.profile
 
-    delegateCanInvite = nickname? and
-                        nickname in [@createdBy].concat @participants
+    delegateCanInvite = nickname? and nickname in @invitees
 
     return callback new KodingError "Access denied!" unless delegateCanInvite
 

    {delegate} = client.connection
    {nickname} = delegate.profile

    initialInvitees.push nickname  unless nickname in initialInvitees

    @one { invitees: initialInvitees }, (err, conversation)->
      return callback err  if err

  createId = require 'hat'

  KodingError = require '../../error'

  {uniq} = require 'underscore'

  @share()

