Issue 3011 (and others): OStatus: Don't fetch liked contents
This commit is contained in:
parent
63e2695d22
commit
2362e78c8f
|
@ -523,7 +523,9 @@ class ostatus {
|
|||
$r = q("SELECT `id` FROM `item` WHERE `uid` = %d AND `uri` = '%s'",
|
||||
intval($importer["uid"]), dbesc($item["parent-uri"]));
|
||||
|
||||
if (!$r AND ($related != "")) {
|
||||
// Only fetch missing stuff if it is a comment or reshare.
|
||||
if (in_array($item["verb"], array(ACTIVITY_POST, ACTIVITY_SHARE)) AND
|
||||
!dbm::is_result($r) AND ($related != "")) {
|
||||
$reply_path = str_replace("/notice/", "/api/statuses/show/", $related).".atom";
|
||||
|
||||
if ($reply_path != $related) {
|
||||
|
|
Loading…
Reference in a new issue