mirror of
https://github.com/friendica/friendica
synced 2024-12-23 13:20:21 +00:00
Attachments are added to OStatus as well
This commit is contained in:
parent
639d5373e0
commit
795761ee89
1 changed files with 2 additions and 1 deletions
|
@ -1885,7 +1885,8 @@ class OStatus
|
|||
XML::addElement($doc, $entry, "id", $item["uri"]);
|
||||
XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
$body = self::formatPicturePost($item['body']);
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id']);
|
||||
$body = self::formatPicturePost($body);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
$body = "[b]".$item['title']."[/b]\n\n".$body;
|
||||
|
|
Loading…
Reference in a new issue