From f69c043bec5424f49c4e33cef5f0274ce5f5535f Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 18 Nov 2020 18:07:20 +0100 Subject: [PATCH] Update src/Protocol/OStatus.php Co-authored-by: Hypolite Petovan --- src/Protocol/OStatus.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index a21b2a6947..2cc815c323 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -522,11 +522,7 @@ class OStatus } } } else { - // But we will only import complete threads - $valid = Item::exists(['uid' => $importer['uid'], 'uri' => self::$itemlist[0]['thr-parent']]); - if ($valid) { - Logger::info('Item is valid', ['uri' => self::$itemlist[0]["uri"], 'thr-parent' => self::$itemlist[0]['thr-parent'], 'user' => $importer["uid"]]); - } + $valid = true; } if ($valid) {