mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02: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 = 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);
|
$text = BBCode::toPlaintext($body, false);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue