From 2e7c505ac079b0d3b11076e1ad5fb378b03d5453 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 13 Nov 2020 05:01:29 -0500 Subject: [PATCH] Revert wrong item.thr-parent field usage in Protocol\OStatus --- src/Protocol/OStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 9218f2665..9d9e10f7a 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -523,7 +523,7 @@ class OStatus } } else { // But we will only import complete threads - $valid = Item::exists(['uid' => $importer["uid"], 'uri' => self::$itemlist[0]['thr-parent']]); + $valid = Item::exists(['uid' => $importer["uid"], 'uri' => self::$itemlist[0]['parent-uri']]); if ($valid) { Logger::log("Item with uri ".self::$itemlist[0]["uri"]." belongs to parent ".self::$itemlist[0]['thr-parent']." of user ".$importer["uid"].". It will be imported.", Logger::DEBUG); }