[pumpio] Replace share_header calls with BBCode::getShareOpeningTag

This commit is contained in:
Hypolite Petovan 2020-06-18 11:25:14 -04:00
parent a23908723a
commit e5d3bab855

View file

@ -1277,7 +1277,7 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp
$created = '';
}
$postarray['body'] = share_header($share_author, $post->object->author->url,
$postarray['body'] = Friendica\Content\Text\BBCode::getShareOpeningTag($share_author, $post->object->author->url,
$post->object->author->image->url, "",
$created, $post->links->self->href).
$postarray['body']."[/share]";