Merge branch 'fix-sensitive-media' into megamerge

This commit is contained in:
~keith 2022-11-08 06:17:27 +00:00
commit f3881cfa26
Signed by: keith
GPG key ID: 5BEBEEAB2C73D520

View file

@ -1620,7 +1620,7 @@ class Transmitter
$data['url'] = $link ?? $item['plink'];
$data['attributedTo'] = $item['author-link'];
$data['sensitive'] = self::isSensitive($item['uri-id']);
$data['sensitive'] = self::isSensitive($item['uri-id']) || (array_key_exists('summary', $data) && $data['summary'] != '');
if (!empty($item['conversation']) && ($item['conversation'] != './')) {
$data['conversation'] = $data['context'] = $item['conversation'];