mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
Merge pull request #12457 from annando/image-grid-shared
Fix image grid in shared Friendica posts
This commit is contained in:
commit
9a8f6f2150
1 changed files with 1 additions and 0 deletions
|
@ -3030,6 +3030,7 @@ class Item
|
|||
$shared = DI::contentItem()->getSharedPost($item, $fields);
|
||||
if (!empty($shared['post'])) {
|
||||
$shared_item = $shared['post'];
|
||||
$shared_item['body'] = Post\Media::removeFromEndOfBody($shared_item['body']);
|
||||
$quote_uri_id = $shared['post']['uri-id'];
|
||||
$shared_links[] = strtolower($shared['post']['uri']);
|
||||
$item['body'] = BBCode::removeSharedData($item['body']);
|
||||
|
|
Loading…
Reference in a new issue