 
         @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


  @deleteById = secure (client, id, callback) ->

    selector   =
      originId : client.connection.delegate._id
      _id      : ObjectId id

    JWorkspace.one selector, (err, ws) ->

      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) ->
