"remote self" should work now

This commit is contained in:
Michael 2017-09-06 16:20:14 +00:00
parent 26a223c746
commit d25670a4e6

View File

@ -720,6 +720,9 @@ function item_post(App $a) {
$datarray['self'] = $self; $datarray['self'] = $self;
// $datarray['prvnets'] = $user['prvnets']; // $datarray['prvnets'] = $user['prvnets'];
// This triggers posts via API and the mirror functions
$datarray['api_source'] = $api_source;
$datarray['parent-uri'] = ($parent == 0) ? $uri : $parent_item['uri']; $datarray['parent-uri'] = ($parent == 0) ? $uri : $parent_item['uri'];
$datarray['plink'] = System::baseUrl() . '/display/' . urlencode($datarray['guid']); $datarray['plink'] = System::baseUrl() . '/display/' . urlencode($datarray['guid']);
$datarray['last-child'] = 1; $datarray['last-child'] = 1;