sforkowany z mirror/friendica
Merge pull request #5317 from annando/ostatus-like
Fix: Likes from OStatus got the gravity of comments2022.09-rc
commit
199361a562
|
@ -341,7 +341,7 @@ class OStatus
|
|||
$header["type"] = "remote";
|
||||
$header["wall"] = 0;
|
||||
$header["origin"] = 0;
|
||||
$header["gravity"] = GRAVITY_PARENT;
|
||||
$header["gravity"] = GRAVITY_COMMENT;
|
||||
|
||||
$first_child = $doc->firstChild->tagName;
|
||||
|
||||
|
@ -683,9 +683,9 @@ class OStatus
|
|||
}
|
||||
|
||||
$item["type"] = 'remote-comment';
|
||||
$item["gravity"] = GRAVITY_COMMENT;
|
||||
} else {
|
||||
$item["parent-uri"] = $item["uri"];
|
||||
$item["gravity"] = GRAVITY_PARENT;
|
||||
}
|
||||
|
||||
if (($item['author-link'] != '') && !empty($item['protocol'])) {
|
||||
|
|
Ładowanie…
Reference in New Issue