]> git.mxchange.org Git - friendica.git/commitdiff
Show the name instead of the nick in the feed
authorMichael Vogel <icarus@dabo.de>
Sat, 28 Nov 2015 18:42:18 +0000 (19:42 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 28 Nov 2015 18:42:18 +0000 (19:42 +0100)
include/ostatus.php

index 750952e9086ee181680d93a91757a7baabeb34e0..ebd5741e5157a44977a4f6452857c2f509199191 100644 (file)
@@ -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);