Profile activityobject array outputs "summary" field

This commit is contained in:
Mikael Nordfeldth 2014-08-07 21:54:31 +02:00
parent ebbc3e530b
commit 8aa783241d

View File

@ -1324,6 +1324,7 @@ class Profile extends Managed_DataObject
$object->id = $this->getUri();
$object->title = $this->getBestName();
$object->link = $this->getUrl();
$object->summary = $this->getDescription();
try {
$avatar = Avatar::getUploaded($this);
@ -1390,6 +1391,11 @@ class Profile extends Managed_DataObject
return $this->nickname;
}
public function getDescription()
{
return $this->bio;
}
/**
* Returns the best URI for a profile. Plugins may override.
*