Revert wrong item.thr-parent field usage in Protocol\OStatus

pull/9515/head
Hypolite Petovan 2020-11-13 05:01:29 -05:00
rodzic 042f6b98ac
commit 2e7c505ac0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}