summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 13:31:31 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 13:31:31 -0500
commitf83941a67baab8acf3bb381ec7fce5480f9c8626 (patch)
treec3ff56acf697769b79835efb6507c9982d297747 /plugins/OStatus/lib
parent5aeed9e04110c34bca12e601836797afd5acadba (diff)
correct name check in ActivityObject::fromProfile()
Diffstat (limited to 'plugins/OStatus/lib')
-rw-r--r--plugins/OStatus/lib/activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/activity.php b/plugins/OStatus/lib/activity.php
index ea1303f19..f25a843c3 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;