 
         @emit 'messageBusEvent', { type: 'social.workspace_created', message: message }
 
-        return callback null, workspace
+        uid       = machineUId
+        eventName = 'NewWorkspaceCreated'
+        options   = { nickname, workspace, uid, eventName }
+
+        notifyUsers options, callback
+
 
     if data.isDefault
     then kallback data.name, data.slug

        kallback name, slug


  generateUniqueName = ({ originId, machineUId, name, index }, callback) ->

    slug = if index? then "#{name}-#{index}" else name

      unless ws
        callback new KodingError 'Workspace not found.'
      else
        ws.remove (err) ->
          return callback err  if err
          options =
            uid      : ws.machineUId
            nickname : delegate.profile.nickname
            workspace: ws
            eventName: 'WorkspaceRemoved'

          notifyUsers options, callback


  @deleteByUid = secure (client, uid, callback) ->
