From: Evan Prodromou Date: Sun, 21 Feb 2010 18:31:31 +0000 (-0500) Subject: correct name check in ActivityObject::fromProfile() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f83941a67baab8acf3bb381ec7fce5480f9c8626;p=quix0rs-gnu-social.git correct name check in ActivityObject::fromProfile() --- diff --git a/plugins/OStatus/lib/activity.php b/plugins/OStatus/lib/activity.php index ea1303f199..f25a843c36 100644 --- a/plugins/OStatus/lib/activity.php +++ b/plugins/OStatus/lib/activity.php @@ -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;