summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-26 13:17:24 -0500
committerJames Walker <walkah@walkah.net>2010-02-26 14:22:49 -0500
commitbbb0a7d5bc2c8815a2057eb0a6588d8d60ff4416 (patch)
tree2f7d7f61fc1ae77ebb2ba079d8d074a533f11c9e /plugins/OStatus/actions
parentfc576562a39943fb1fa83a6a6d1fdef4f234564a (diff)
updating to use latest salmon NS definitions
Diffstat (limited to 'plugins/OStatus/actions')
-rw-r--r--plugins/OStatus/actions/xrd.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/OStatus/actions/xrd.php b/plugins/OStatus/actions/xrd.php
index e6b694d61..4350ad025 100644
--- a/plugins/OStatus/actions/xrd.php
+++ b/plugins/OStatus/actions/xrd.php
@@ -80,10 +80,14 @@ class XrdAction extends Action
'href' => common_local_url('foaf',
array('nickname' => $nick)));
- $salmon_url = common_local_url('salmon',
+ // Salmon
+ $salmon_url = common_local_url('usersalmon',
array('id' => $this->user->id));
- $xrd->links[] = array('rel' => 'salmon',
+ $xrd->links[] = array('rel' => Salmon::NS_REPLIES,
+ 'href' => $salmon_url);
+
+ $xrd->links[] = array('rel' => Salmon::NS_MENTIONS,
'href' => $salmon_url);
// Get this user's keypair