Add native quotes to the upon posting

This commit is contained in:
Michael 2022-10-29 22:14:12 +00:00 committed by Hypolite Petovan
parent 9f3cbad14f
commit 2de97487f3
9 changed files with 9 additions and 9 deletions

View 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);