Add an ID to registered service

This commit is contained in:
Evan Prodromou 2013-06-03 08:55:00 -04:00
parent cbb5586ab7
commit 9f94ed81ee

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',