Make OStatusPlugin define push feed rel
This commit is contained in:
parent
edf660c6ff
commit
005a14272d
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user