mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
Fix missing attached links in posts
This commit is contained in:
parent
11527761d7
commit
b761760d65
10 changed files with 80 additions and 0 deletions
|
@ -260,9 +260,11 @@ class Status extends BaseFactory
|
|||
}
|
||||
|
||||
$item['body'] = $this->contentItem->addSharedPost($item);
|
||||
$item['body'] = Post\Media::addHTMLAttachmentToBody($uriId, $item['body']);
|
||||
|
||||
if (!is_null($item['raw-body'])) {
|
||||
$item['raw-body'] = $this->contentItem->addSharedPost($item, $item['raw-body']);
|
||||
$item['raw-body'] = Post\Media::addHTMLLinkToBody($uriId, $item['raw-body']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue