summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/xrdaction.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-08-02 13:23:55 -0400
committerJames Walker <walkah@walkah.net>2010-08-02 13:24:38 -0400
commit517c7483d1b55fcc78b1d69e8ffd7de763faa772 (patch)
tree6f54addb142e7d3443e33a2cecff0a440236065e /plugins/OStatus/lib/xrdaction.php
parenta1aea74fe2dde70180f799b270802790d0344f60 (diff)
move to rel="salmon" (per latest spec)
Diffstat (limited to 'plugins/OStatus/lib/xrdaction.php')
-rw-r--r--plugins/OStatus/lib/xrdaction.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/OStatus/lib/xrdaction.php b/plugins/OStatus/lib/xrdaction.php
index f1a56e0a8..71c70b96e 100644
--- a/plugins/OStatus/lib/xrdaction.php
+++ b/plugins/OStatus/lib/xrdaction.php
@@ -76,6 +76,9 @@ class XrdAction extends Action
$salmon_url = common_local_url('usersalmon',
array('id' => $this->user->id));
+ $xrd->links[] = array('rel' => Salmon::REL_SALMON,
+ 'href' => $salmon_url);
+ // XXX : Deprecated - to be removed.
$xrd->links[] = array('rel' => Salmon::NS_REPLIES,
'href' => $salmon_url);