Stop incorrecly changing object_type to relative URI
All other data is using absolute URI for object_type.
This commit is contained in:
parent
0ba53edd96
commit
8649591626
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user