Browse Source

remove duplicate tag in atom response

pull/1/head
Fabio Comuni 10 years ago
parent
commit
7cd7a79807
2 changed files with 1 additions and 3 deletions
  1. +0
    -1
      include/api.php
  2. +1
    -2
      view/api_timeline_atom.tpl

+ 0
- 1
include/api.php View File

@ -515,7 +515,6 @@
'user' => $status_user ,
'objecttype' => $item['object-type'],
'verb' => $item['verb'],
'conversation' => $a->get_baseurl() . '/display/' . $status_user['screen_name'] . '/' . $item['id'],
'self' => $a->get_baseurl()."/api/statuses/show/".$ite['id'].".".$type,
'edit' => $a->get_baseurl()."/api/statuses/show/".$ite['id'].".".$type,
);


+ 1
- 2
view/api_timeline_atom.tpl View File

@ -61,7 +61,6 @@
<published>$status.published</published>
<updated>$status.updated</updated>
<link rel="ostatus:conversation" href="$status.url"/>
<!--
<source>
<id>http://identi.ca/api/statuses/user_timeline/397830.atom</id>
@ -119,7 +118,7 @@
</poco:urls>
<!-- <statusnet:profile_info local_id="123710" following="true" blocking="false"></statusnet:profile_info> -->
</activity:actor>
<link rel="ostatus:conversation" href="$status.conversation"/>
<link rel="ostatus:conversation" href="$status.url"/>
</entry>
{{ endfor }}


Loading…
Cancel
Save