From: Michael Date: Thu, 15 Mar 2018 21:33:28 +0000 (+0000) Subject: OStatus: Likes from Pleroma will now work X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=972c2c86ef118b06e6e9c3b4d9bb5f7bf0269aad;p=friendica.git OStatus: Likes from Pleroma will now work --- diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 26909102f7..b900e34cac 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -673,9 +673,11 @@ class OStatus self::fetchConversation($item['conversation-href'], $item['conversation-uri']); } - if (isset($item["parent-uri"]) && ($related != '')) { + if (isset($item["parent-uri"])) { if (!dba::exists('item', ['uid' => $importer["uid"], 'uri' => $item['parent-uri']])) { - self::fetchRelated($related, $item["parent-uri"], $importer); + if ($related != '') { + self::fetchRelated($related, $item["parent-uri"], $importer); + } } else { logger('Reply with URI '.$item["uri"].' already existed for user '.$importer["uid"].'.', LOGGER_DEBUG); }