Merge branch 'object-types-are-absolute' into 'master'

Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.

See merge request !40
This commit is contained in:
mmn 2015-11-05 15:12:41 +00:00
commit deb5275c7a
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
$actobj = $act->objects[0];
$object = Fave::saveActivityObject($actobj, $stored);
$stored->object_type = ActivityUtils::resolveUri($object->getObjectType(), true);
$stored->object_type = $object->getObjectType();
return $object;
}