mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Only attach images
This commit is contained in:
parent
f1f13db24f
commit
0e82f64d71
2 changed files with 6 additions and 4 deletions
|
@ -668,7 +668,7 @@ class Item
|
|||
|
||||
$shared = BBCode::fetchShareAttributes($item['body']);
|
||||
|
||||
$item['body'] = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
|
||||
$item['body'] = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body'], [Post\Media::IMAGE]);
|
||||
|
||||
// If it is a reshared post then reformat it to avoid display problems with two share elements
|
||||
if (Diaspora::isReshare($item['body'], false)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue