]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialVideo/GNUsocialVideoPlugin.php
s/bestUrl/getUrl/ for notices and microapp objects
[quix0rs-gnu-social.git] / plugins / GNUsocialVideo / GNUsocialVideoPlugin.php
index 7d1b98a63f33fb84543ff58724774891298fe133..df157c40161e316e7403dafc0a779f2751866a7e 100644 (file)
@@ -98,7 +98,7 @@ class GNUsocialVideoPlugin extends MicroAppPlugin
         $object->type = Video::OBJECT_TYPE;
         $object->title = $notice->content;
         $object->summary = $notice->content;
-        $object->link = $notice->bestUrl();
+        $object->link = $notice->getUrl();
 
         $vid = Video::getByNotice($notice);