Only add images

This commit is contained in:
Michael 2023-09-22 20:12:10 +00:00
parent aa429be4d9
commit 7c6d872964

View file

@ -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 {