1
0
Fork 0

OStatus: Commented out some "to-do" stuff

This commit is contained in:
Michael Vogel 2015-11-27 08:09:19 +01:00
parent b45ca80656
commit b1a9e9b6d4

View file

@ -1382,13 +1382,13 @@ function ostatus_entry($doc, $item, $owner, $toplevel = false) {
// To-Do:
// The API call has yet to be implemented
$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
"rel" => "self", "type" => "application/atom+xml");
xml_add_element($doc, $entry, "link", "", $attributes);
//$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
// "rel" => "self", "type" => "application/atom+xml");
//xml_add_element($doc, $entry, "link", "", $attributes);
$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
"rel" => "edit", "type" => "application/atom+xml");
xml_add_element($doc, $entry, "link", "", $attributes);
//$attributes = array("href" => $a->get_baseurl()."/api/statuses/show/".$item["id"].".atom",
// "rel" => "edit", "type" => "application/atom+xml");
//xml_add_element($doc, $entry, "link", "", $attributes);
$app = $item["app"];
if ($app == "")