From 005a14272de498815d3cbce22c106da49e40cd1e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Nov 2010 22:10:18 -0500 Subject: [PATCH] Make OStatusPlugin define push feed rel --- plugins/OStatus/OStatusPlugin.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 7d62eaba6d..d0b64e8769 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)); -- 2.39.5