]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/pumpio.php
Use workerqueue for mailstream jobs instead of custom table
[friendica-addons.git] / pumpio / pumpio.php
index 8e60f46d7e749f7fa304d0e1d2b5f551593be165..5f03c6c57f499c766508af48e37a27420509b4e2 100644 (file)
@@ -436,6 +436,8 @@ function pumpio_send(App $a, array &$b)
 
        Logger::log("pumpio_send: parameter ".print_r($b, true), Logger::DATA);
 
+       $b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
+
        if ($b['parent'] != $b['id']) {
                // Looking if its a reply to a pumpio post
                $condition = ['id' => $b['parent'], 'network' => Protocol::PUMPIO];