Fix receiving non public posts from AP
This commit is contained in:
parent
abd5b2a881
commit
ef56837b9e
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ class Processor
|
||||||
Logger::warning('Unknown parent item.', ['uri' => $item['thr-parent']]);
|
Logger::warning('Unknown parent item.', ['uri' => $item['thr-parent']]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($item_private && ($parent['private'] == Item::PRIVATE)) {
|
if ($item_private && ($parent['private'] != Item::PRIVATE)) {
|
||||||
Logger::warning('Item is private but the parent is not. Dropping.', ['item-uri' => $item['uri'], 'thr-parent' => $item['thr-parent']]);
|
Logger::warning('Item is private but the parent is not. Dropping.', ['item-uri' => $item['uri'], 'thr-parent' => $item['thr-parent']]);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue