Merge branch 'fix-sensitive-media' into megamerge
This commit is contained in:
commit
f3881cfa26
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue