}
if (ActivityPub::isRequest()) {
- goaway(str_replace('display/', 'object/', $a->query_string));
+ goaway(str_replace('display/', 'objects/', $a->query_string));
}
if ($item["id"] != $item["parent"]) {
$title = trim(HTML::toPlaintext(BBCode::convert($item["title"], false), 0, true));
$author_name = $item["author-name"];
- $image = $a->remove_baseurl($item["author-avatar"]);
+ $image = $a->removeBaseURL($item["author-avatar"]);
if ($title == "") {
$title = $author_name;