mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Don't transmit smiley links to external systems
This commit is contained in:
parent
53d4312903
commit
8f318e492e
2 changed files with 6 additions and 5 deletions
|
@ -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"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue