Merge pull request #3686 from annando/remote-self

"remote self" should work now
This commit is contained in:
Tobias Diekershoff 2017-09-06 19:37:37 +02:00 committed by GitHub
commit 29b0e5d71c

View File

@ -720,6 +720,9 @@ function item_post(App $a) {
$datarray['self'] = $self;
// $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['plink'] = System::baseUrl() . '/display/' . urlencode($datarray['guid']);
$datarray['last-child'] = 1;