]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/FavoritePlugin.php
Stop incorrecly changing object_type to relative URI
[quix0rs-gnu-social.git] / 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;
     }