mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
Issue 11513: Non public replies on public posts should now work
This commit is contained in:
parent
60c6ab08c1
commit
df6cda8a4d
5 changed files with 27 additions and 16 deletions
|
@ -863,11 +863,6 @@ class Processor
|
|||
Logger::warning('Unknown parent item.', ['uri' => $parent_uri]);
|
||||
return false;
|
||||
}
|
||||
if (!empty($activity['type']) && in_array($activity['type'], Receiver::CONTENT_TYPES) && ($item['private'] == 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']]);
|
||||
return false;
|
||||
}
|
||||
|
||||
$content = self::removeImplicitMentionsFromBody($content, $parent);
|
||||
}
|
||||
$item['content-warning'] = HTML::toBBCode($activity['summary'] ?? '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue