From: Evan Prodromou Date: Sat, 27 Nov 2010 03:10:18 +0000 (-0500) Subject: Make OStatusPlugin define push feed rel X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=005a14272de498815d3cbce22c106da49e40cd1e;p=quix0rs-gnu-social.git Make OStatusPlugin define push feed rel --- 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));