Mark posts with a CW as sensitive
This commit is contained in:
parent
f826ce70ce
commit
72006652e1
1 changed files with 1 additions and 1 deletions
|
@ -1611,7 +1611,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