mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
Only add images
This commit is contained in:
parent
aa429be4d9
commit
7c6d872964
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class Engagement
|
|||
|
||||
$body = preg_replace("~\[url\=.*\]https?:.*\[\/url\]~", '', $body);
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], $body);
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], $body, [Post\Media::IMAGE]);
|
||||
$text = BBCode::toPlaintext($body, false);
|
||||
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue