summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/xrdaction.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-17 09:38:39 -0500
committerEvan Prodromou <evan@status.net>2010-03-17 09:38:39 -0500
commit4761c07ad8d76f7c34d4db53d32d15e806ba1e88 (patch)
treeeb3d78ccde1778037165c92b6ec36c7465b54345 /plugins/OStatus/lib/xrdaction.php
parentf21f78364a9cbde2ca535a3983b384707ad097ae (diff)
parentf62b8a80cf33ac8529d0736c51dc060a9d235369 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/OStatus/lib/xrdaction.php')
-rw-r--r--plugins/OStatus/lib/xrdaction.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/OStatus/lib/xrdaction.php b/plugins/OStatus/lib/xrdaction.php
index b3c1d8453..f1a56e0a8 100644
--- a/plugins/OStatus/lib/xrdaction.php
+++ b/plugins/OStatus/lib/xrdaction.php
@@ -46,10 +46,10 @@ class XrdAction extends Action
if (empty($xrd->subject)) {
$xrd->subject = Discovery::normalize($this->uri);
}
- $xrd->alias[] = common_profile_url($nick);
+ $xrd->alias[] = $this->user->uri;
$xrd->links[] = array('rel' => Discovery::PROFILEPAGE,
'type' => 'text/html',
- 'href' => common_profile_url($nick));
+ 'href' => $this->user->uri);
$xrd->links[] = array('rel' => Discovery::UPDATESFROM,
'href' => common_local_url('ApiTimelineUser',
@@ -65,7 +65,7 @@ class XrdAction extends Action
// XFN
$xrd->links[] = array('rel' => 'http://gmpg.org/xfn/11',
'type' => 'text/html',
- 'href' => common_profile_url($nick));
+ 'href' => $this->user->uri);
// FOAF
$xrd->links[] = array('rel' => 'describedby',
'type' => 'application/rdf+xml',