]> git.mxchange.org Git - friendica.git/commitdiff
"remote self" should work now
authorMichael <heluecht@pirati.ca>
Wed, 6 Sep 2017 16:20:14 +0000 (16:20 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 6 Sep 2017 16:20:14 +0000 (16:20 +0000)
mod/item.php

index a681ca70da192a739a2293be62eabf73a49010f6..8abee8e4f651dd06321785fc76084c48f1d88017 100644 (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;