Show the name instead of the nick in the feed

Этот коммит содержится в:
Michael Vogel 2015-11-28 19:42:18 +01:00
родитель b53a2c3122
Коммит cd16eb14af
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);