Don't transmit smiley links to external systems

This commit is contained in:
Michael 2021-05-04 21:07:41 +00:00
parent 53d4312903
commit 8f318e492e
2 changed files with 6 additions and 5 deletions

View file

@ -1556,7 +1556,7 @@ class Transmitter
$richbody = preg_replace_callback($regexp, ['self', 'mentionCallback'], $item['body']);
$richbody = BBCode::removeAttachment($richbody);
$data['contentMap'][$language] = BBCode::convert($richbody, false);
$data['contentMap'][$language] = BBCode::convert($richbody, false, BBCode::EXTERNAL);
}
$data['source'] = ['content' => $item['body'], 'mediaType' => "text/bbcode"];