From d25670a4e6167e45394dc7fd1bdba9e02f39508c Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 6 Sep 2017 16:20:14 +0000 Subject: [PATCH] "remote self" should work now --- mod/item.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/item.php b/mod/item.php index a681ca70da..8abee8e4f6 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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;