Stop incorrecly changing object_type to relative URI

All other data is using absolute URI for object_type.
This commit is contained in:
Stephen Paul Weber 2015-10-22 17:14:59 +00:00
parent 0ba53edd96
commit 8649591626

View File

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