Changed conversation url (used for AP)
This commit is contained in:
parent
4699741f00
commit
f3814ae1fc
|
@ -2004,8 +2004,7 @@ class OStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intval($item["parent"]) > 0) {
|
if (intval($item["parent"]) > 0) {
|
||||||
$conversation_href = System::baseUrl()."/display/".$owner["nick"]."/".$item["parent"];
|
$conversation_href = $conversation_uri = str_replace('/object/', '/context/', $item['parent-uri']);
|
||||||
$conversation_uri = $conversation_href;
|
|
||||||
|
|
||||||
if (isset($parent_item)) {
|
if (isset($parent_item)) {
|
||||||
$conversation = DBA::selectFirst('conversation', ['conversation-uri', 'conversation-href'], ['item-uri' => $parent_item]);
|
$conversation = DBA::selectFirst('conversation', ['conversation-uri', 'conversation-href'], ['item-uri' => $parent_item]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user