From: Michael <heluecht@pirati.ca>
Date: Wed, 6 Sep 2017 16:20:14 +0000 (+0000)
Subject: "remote self" should work now
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d25670a4e6167e45394dc7fd1bdba9e02f39508c;p=friendica.git

"remote self" should work now
---

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;