From: Michael Vogel Date: Sat, 28 Nov 2015 18:42:18 +0000 (+0100) Subject: Show the name instead of the nick in the feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd16eb14af967648cdefaee4f420d483ed9aa309;p=friendica.git Show the name instead of the nick in the feed --- diff --git a/include/ostatus.php b/include/ostatus.php index 750952e908..ebd5741e51 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -1237,7 +1237,7 @@ function ostatus_add_author($doc, $owner, $profile) { $author = $doc->createElement("author"); xml_add_element($doc, $author, "activity:object-type", ACTIVITY_OBJ_PERSON); xml_add_element($doc, $author, "uri", $owner["url"]); - xml_add_element($doc, $author, "name", $owner["nick"]); + xml_add_element($doc, $author, "name", $profile["name"]); $attributes = array("rel" => "alternate", "type" => "text/html", "href" => $owner["url"]); xml_add_element($doc, $author, "link", "", $attributes);