diff options
author | James Walker <walkah@walkah.net> | 2010-08-02 13:23:55 -0400 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-08-02 13:24:38 -0400 |
commit | 517c7483d1b55fcc78b1d69e8ffd7de763faa772 (patch) | |
tree | 6f54addb142e7d3443e33a2cecff0a440236065e /plugins/OStatus/OStatusPlugin.php | |
parent | a1aea74fe2dde70180f799b270802790d0344f60 (diff) |
move to rel="salmon" (per latest spec)
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index c61e2cc5f..c735c02db 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -158,6 +158,9 @@ class OStatusPlugin extends Plugin // Also, we'll add in the salmon link $salmon = common_local_url($salmonAction, array('id' => $id)); + $feed->addLink($salmon, array('rel' => Salmon::REL_SALMON)); + + // XXX: these are deprecated $feed->addLink($salmon, array('rel' => Salmon::NS_REPLIES)); $feed->addLink($salmon, array('rel' => Salmon::NS_MENTIONS)); } |