We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit deb5275c authored by mattl's avatar mattl

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
parents 959f971a 86495916
...@@ -194,7 +194,7 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment