X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=pumpio%2Fpumpio.php;h=5f03c6c57f499c766508af48e37a27420509b4e2;hb=a50ca549996d9e90c3bb7b616675f2cb6b8d6a27;hp=8e60f46d7e749f7fa304d0e1d2b5f551593be165;hpb=e8ea0f20bd1cc8e15f1886aa88725e3e0d2a7a98;p=friendica-addons.git diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 8e60f46d..5f03c6c5 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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];