Profile activityobject array outputs "summary" field
This commit is contained in:
parent
ebbc3e530b
commit
8aa783241d
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user