Merge pull request #6134 from annando/6128-again

We now use our regular feed that allows anonymous polling
This commit is contained in:
Tobias Diekershoff 2018-11-15 06:19:13 +01:00 committed by GitHub
commit 921094017c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1320,7 +1320,7 @@ class OStatus
$attributes = ["href" => System::baseUrl() . "/salmon/" . $owner["nick"], "rel" => "http://salmon-protocol.org/ns/salmon-mention"]; $attributes = ["href" => System::baseUrl() . "/salmon/" . $owner["nick"], "rel" => "http://salmon-protocol.org/ns/salmon-mention"];
XML::addElement($doc, $root, "link", "", $attributes); XML::addElement($doc, $root, "link", "", $attributes);
$attributes = ["href" => System::baseUrl() . "/api/statuses/user_timeline/" . $owner["nick"] . ".atom", $attributes = ["href" => System::baseUrl() . "/dfrn_poll/" . $owner["nick"],
"rel" => "self", "type" => "application/atom+xml"]; "rel" => "self", "type" => "application/atom+xml"];
XML::addElement($doc, $root, "link", "", $attributes); XML::addElement($doc, $root, "link", "", $attributes);