handle poco nicknames in Ostatus_profile

This commit is contained in:
Evan Prodromou
2010-02-22 07:57:44 -05:00
parent b79d4ed6a1
commit 75fdef2092
2 changed files with 11 additions and 2 deletions

View File

@@ -832,7 +832,9 @@ class Ostatus_profile extends Memcached_DataObject
protected static function getActivityObjectNickname($object, $hints=array())
{
// XXX: check whatever PoCo calls a nickname first
if (!empty($object->nickname)) {
return common_nicknamize($object->nickname);
}
// Try the definitive ID