X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FProfile.php;fp=classes%2FProfile.php;h=1af29b262090c11d94de624f6ad1feff7d073a73;hb=527224266b9d9908dcf44d3f6a838a44d9a6215c;hp=94f83ab788a1ca388168d1bfb80dec1251c2ccb1;hpb=18bb160ddf051b7e5c6391808c246d0ab6f77126;p=quix0rs-gnu-social.git diff --git a/classes/Profile.php b/classes/Profile.php index 94f83ab788..1af29b2620 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -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. *