mirror of
https://github.com/friendica/friendica
synced 2024-05-28 13:58:19 +02:00
Only add images
This commit is contained in:
parent
aa429be4d9
commit
7c6d872964
|
@ -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