Fix: Subject for private messages from Friendica systems

This commit is contained in:
Michael 2024-03-09 22:32:38 +00:00
parent 2077e00eae
commit 3496d3948a

View file

@ -851,6 +851,7 @@ class Processor
}
$item['title'] = trim(BBCode::toPlaintext($item['title']));
$item['content-warning'] = HTML::toBBCode($activity['summary'] ?? '');
if (!empty($activity['languages'])) {
$item['language'] = self::processLanguages($activity['languages']);
@ -897,7 +898,6 @@ class Processor
}
$content = self::removeImplicitMentionsFromBody($content, $parent);
}
$item['content-warning'] = HTML::toBBCode($activity['summary'] ?? '');
$item['raw-body'] = $item['body'] = $content;
}