mirror of
https://github.com/friendica/friendica
synced 2024-12-24 19:20:15 +00:00
Show the name instead of the nick in the feed
This commit is contained in:
parent
b53a2c3122
commit
cd16eb14af
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ function ostatus_add_author($doc, $owner, $profile) {
|
||||||
$author = $doc->createElement("author");
|
$author = $doc->createElement("author");
|
||||||
xml_add_element($doc, $author, "activity:object-type", ACTIVITY_OBJ_PERSON);
|
xml_add_element($doc, $author, "activity:object-type", ACTIVITY_OBJ_PERSON);
|
||||||
xml_add_element($doc, $author, "uri", $owner["url"]);
|
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"]);
|
$attributes = array("rel" => "alternate", "type" => "text/html", "href" => $owner["url"]);
|
||||||
xml_add_element($doc, $author, "link", "", $attributes);
|
xml_add_element($doc, $author, "link", "", $attributes);
|
||||||
|
|
Loading…
Reference in a new issue