forked from GNUsocial/gnu-social
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:
commit
deb5275c7a
@ -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