Merge pull request #13980 from annando/mail-summary
Fix: Subject for private messages from Friendica systems
This commit is contained in:
commit
e206175a50
|
@ -851,6 +851,7 @@ class Processor
|
||||||
}
|
}
|
||||||
|
|
||||||
$item['title'] = trim(BBCode::toPlaintext($item['title']));
|
$item['title'] = trim(BBCode::toPlaintext($item['title']));
|
||||||
|
$item['content-warning'] = HTML::toBBCode($activity['summary'] ?? '');
|
||||||
|
|
||||||
if (!empty($activity['languages'])) {
|
if (!empty($activity['languages'])) {
|
||||||
$item['language'] = self::processLanguages($activity['languages']);
|
$item['language'] = self::processLanguages($activity['languages']);
|
||||||
|
@ -897,7 +898,6 @@ class Processor
|
||||||
}
|
}
|
||||||
$content = self::removeImplicitMentionsFromBody($content, $parent);
|
$content = self::removeImplicitMentionsFromBody($content, $parent);
|
||||||
}
|
}
|
||||||
$item['content-warning'] = HTML::toBBCode($activity['summary'] ?? '');
|
|
||||||
$item['raw-body'] = $item['body'] = $content;
|
$item['raw-body'] = $item['body'] = $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user