From cd16eb14af967648cdefaee4f420d483ed9aa309 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 28 Nov 2015 19:42:18 +0100 Subject: [PATCH] Show the name instead of the nick in the feed --- include/ostatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);