Add an ID to registered service

This commit is contained in:
Evan Prodromou 2013-06-03 08:55:00 -04:00
parent 7ad5ed1db9
commit fa1a1851db

View File

@ -1190,11 +1190,13 @@ class User extends Managed_DataObject
$service->type = "service";
$service->displayName = common_config('site', 'name');
$service->url = common_root_url();
$service->id = $service->url;
$act = new Activity();
$act->actor = ActivityObject::fromProfile($profile);
$act->verb = ActivityVerb::JOIN;
$act->objects[] = $service;
$act->id = TagURI::mint('user:register:%d',