Update src/Protocol/OStatus.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2020-11-18 18:07:20 +01:00 committed by GitHub
parent a1dcbedc6f
commit f69c043bec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -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) {