]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/OStatus.php
API: improved mail handling
[friendica.git] / src / Protocol / OStatus.php
index 8021673862bc9f933812efc0cd7087f88f2e15d9..9de0138ad6f64782dd19f5ca3e48f84a3d177d2f 100644 (file)
@@ -1885,7 +1885,7 @@ class OStatus
                XML::addElement($doc, $entry, "id", $item["uri"]);
                XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
 
-               $body = Post\Media::addAttachmentsToBody($item['uri-id']);
+               $body = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
                $body = self::formatPicturePost($body);
 
                if (!empty($item['title'])) {