mirror of
https://github.com/friendica/friendica
synced 2025-05-06 01:44:12 +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
|
@ -1515,6 +1515,7 @@ class OStatus
|
|||
XML::addElement($doc, $entry, 'title', html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], DI::contentItem()->addSharedPost($item));
|
||||
$body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$body = '[b]' . $item['title'] . "[/b]\n\n" . $body;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue