forked from GNUsocial/gnu-social
Fix atom self reference in the groups api
This commit is contained in:
parent
7621e0e384
commit
7654d69022
@ -94,11 +94,11 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||
case 'atom':
|
||||
if (isset($apidata['api_arg'])) {
|
||||
$selfuri = common_root_url() .
|
||||
'api/statuses/groups/timeline/' .
|
||||
'api/laconica/groups/timeline/' .
|
||||
$apidata['api_arg'] . '.atom';
|
||||
} else {
|
||||
$selfuri = common_root_url() .
|
||||
'api/statuses/groups/timeline.atom';
|
||||
'api/laconica/groups/timeline.atom';
|
||||
}
|
||||
$this->show_atom_timeline($notice, $title, $id, $link,
|
||||
$subtitle, $suplink, $selfuri);
|
||||
@ -111,4 +111,4 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user