aboutsummaryrefslogtreecommitdiffstats
path: root/view/api_timeline_atom.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-21 12:00:52 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-21 12:00:52 +0200
commit655f5c7b9fe138de5566047e79ada034647fd6f2 (patch)
tree19fbf7b7b20e6facb848720f649082c95ec57f23 /view/api_timeline_atom.tpl
parent7cd7a79807c766da0ac39192559081f771b58a1d (diff)
downloadvolse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.tar.gz
volse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.tar.bz2
volse-hubzilla-655f5c7b9fe138de5566047e79ada034647fd6f2.zip
use "contacts/<id_contact>" url as subject id, as statusnet and twitter use urls like "domain/<id_user>".
This seem to make StatusNet Desktop client work better.
Diffstat (limited to 'view/api_timeline_atom.tpl')
-rw-r--r--view/api_timeline_atom.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/api_timeline_atom.tpl b/view/api_timeline_atom.tpl
index f9c70ebb5..bd674f330 100644
--- a/view/api_timeline_atom.tpl
+++ b/view/api_timeline_atom.tpl
@@ -32,7 +32,7 @@
<!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
<activity:subject>
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
- <id>$user.url</id>
+ <id>$user.contact_url</id>
<title>$user.name</title>
<link rel="alternate" type="text/html" href="$user.url"/>
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/>
@@ -100,7 +100,7 @@
<!--Deprecation warning: activity:actor is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
<activity:actor>
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
- <id>$status.user.url</id>
+ <id>$status.user.contact_url</id>
<title>$status.user.name</title>
<link rel="alternate" type="text/html" href="$status.user.url"/>
<link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$status.user.profile_image_url"/>