diff options
author | Evan Prodromou <evan@status.net> | 2010-11-26 22:10:18 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-11-26 22:10:18 -0500 |
commit | 005a14272de498815d3cbce22c106da49e40cd1e (patch) | |
tree | ee8f0c7900584858068c1a0be4ab51a36c44a8dd /plugins | |
parent | edf660c6ffd19aeda42c889c1070a5f84b0c2cf2 (diff) |
Make OStatusPlugin define push feed rel
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 7d62eaba6..d0b64e876 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -1010,7 +1010,13 @@ class OStatusPlugin extends Plugin function onEndXrdActionLinks(&$xrd, $user) { - // Salmon + $xrd->links[] = array('rel' => Discovery::UPDATESFROM, + 'href' => common_local_url('ApiTimelineUser', + array('id' => $user->id, + 'format' => 'atom')), + 'type' => 'application/atom+xml'); + + // Salmon $salmon_url = common_local_url('usersalmon', array('id' => $user->id)); |