The "hub" url now contains the nickname

This commit is contained in:
Michael 2017-08-23 05:01:15 +00:00
parent e607a9dcda
commit b378f5fb01
4 changed files with 22 additions and 16 deletions

View file

@ -504,7 +504,7 @@ class dfrn {
if ($public) {
// DFRN itself doesn't uses this. But maybe someone else wants to subscribe to the public feed.
ostatus::hublinks($doc, $root);
ostatus::hublinks($doc, $root, $owner["nick"]);
$attributes = array("rel" => "salmon", "href" => App::get_baseurl()."/salmon/".$owner["nick"]);
xml::add_element($doc, $root, "link", "", $attributes);