Add native quotes to the upon posting
[friendica-addons.git/.git] / statusnet / statusnet.php
index 7ed90f9..97281a3 100644 (file)
@@ -440,7 +440,7 @@ function statusnet_post_hook(App $a, array &$b)
                        return;
        }
 
-       $b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
+       $b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], DI::contentItem()->addSharedPost($b));
 
        $api = DI::pConfig()->get($b['uid'], 'statusnet', 'baseapi');
        $hostname = preg_replace("=https?://([\w\.]*)/.*=ism", "$1", $api);