Fix image grid in shared Friendica posts
This commit is contained in:
parent
d25fc9de9b
commit
ed520a3f39
|
@ -3030,6 +3030,7 @@ class Item
|
||||||
$shared = DI::contentItem()->getSharedPost($item, $fields);
|
$shared = DI::contentItem()->getSharedPost($item, $fields);
|
||||||
if (!empty($shared['post'])) {
|
if (!empty($shared['post'])) {
|
||||||
$shared_item = $shared['post'];
|
$shared_item = $shared['post'];
|
||||||
|
$shared_item['body'] = Post\Media::removeFromEndOfBody($shared_item['body']);
|
||||||
$quote_uri_id = $shared['post']['uri-id'];
|
$quote_uri_id = $shared['post']['uri-id'];
|
||||||
$shared_links[] = strtolower($shared['post']['uri']);
|
$shared_links[] = strtolower($shared['post']['uri']);
|
||||||
$item['body'] = BBCode::removeSharedData($item['body']);
|
$item['body'] = BBCode::removeSharedData($item['body']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user