Browse Source

Show the name instead of the nick in the feed

pull/2106/head
Michael Vogel 5 years ago
parent
commit
cd16eb14af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/ostatus.php

+ 1
- 1
include/ostatus.php View 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);


Loading…
Cancel
Save