Fix missing attached links in posts

This commit is contained in:
Michael 2023-03-04 19:04:37 +00:00
parent 11527761d7
commit b761760d65
10 changed files with 80 additions and 0 deletions

View file

@ -774,6 +774,7 @@ class DFRN
}
$body = Post\Media::addAttachmentsToBody($item['uri-id'], DI::contentItem()->addSharedPost($item));
$body = Post\Media::addHTMLAttachmentToBody($item['uri-id'], $body);
if ($item['private'] == Item::PRIVATE) {
$body = Item::fixPrivatePhotos($body, $owner['uid'], $item, $cid);