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…
Reference in a new issue