Attachments are added to OStatus as well
This commit is contained in:
parent
639d5373e0
commit
795761ee89
|
@ -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 New Issue
Block a user