]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Stop incorrecly changing object_type to relative URI
authorStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 22 Oct 2015 17:14:59 +0000 (17:14 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 22 Oct 2015 17:14:59 +0000 (17:14 +0000)
All other data is using absolute URI for object_type.

plugins/Favorite/FavoritePlugin.php

index aa6cdc935962043dc43cae89c9ffe076d858d263..afe905a109ee18e6b62bd6abd0286b07d4a78b62 100644 (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;
     }