Issue 5811: "objects" instead of "object"

This commit is contained in:
Michael 2018-10-02 20:12:38 +00:00
parent c02dea7b02
commit 518d461a8f
6 changed files with 6 additions and 6 deletions

View file

@ -2004,7 +2004,7 @@ class OStatus
}
if (intval($item["parent"]) > 0) {
$conversation_href = $conversation_uri = str_replace('/object/', '/context/', $item['parent-uri']);
$conversation_href = $conversation_uri = str_replace('/objects/', '/context/', $item['parent-uri']);
if (isset($parent_item)) {
$conversation = DBA::selectFirst('conversation', ['conversation-uri', 'conversation-href'], ['item-uri' => $parent_item]);