Browse Source

OStatus: Commented out some "to-do" stuff

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

+ 6
- 6
include/ostatus.php 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 == "")


Loading…
Cancel
Save