]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct name check in ActivityObject::fromProfile()
authorEvan Prodromou <evan@status.net>
Sun, 21 Feb 2010 18:31:31 +0000 (13:31 -0500)
committerEvan Prodromou <evan@status.net>
Sun, 21 Feb 2010 18:31:31 +0000 (13:31 -0500)
plugins/OStatus/lib/activity.php

index ea1303f1993278786a2811f0549c160a73bd58a6..f25a843c366bef4177da7b42c86c49a305cd2f30 100644 (file)
@@ -366,7 +366,7 @@ class ActivityObject
 
         $object->type  = ActivityObject::PERSON;
         $object->id    = $profile->getUri();
-        $object->title = $this->getBestName();
+        $object->title = $profile->getBestName();
         $object->link  = $profile->profileurl;
 
         return $object;