mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
We only need a link here
This commit is contained in:
parent
60ddef1720
commit
d41ec728e4
3 changed files with 5 additions and 5 deletions
|
@ -259,12 +259,12 @@ 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']);
|
||||
} else {
|
||||
$item['body'] = $this->contentItem->addSharedPost($item);
|
||||
$item['body'] = Post\Media::addHTMLLinkToBody($uriId, $item['body']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue