aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-28 18:52:49 -0700
committerfriendica <info@friendica.com>2012-06-28 18:52:49 -0700
commit1830ecc9baa13b7d28f6a8250832832f2cc6a537 (patch)
tree7a13652570ede8f09f08f8418b4ccb09f7fd1668 /include
parenta3edbf7e5d0d89e99c2249cf30657b1fbc57982a (diff)
downloadvolse-hubzilla-1830ecc9baa13b7d28f6a8250832832f2cc6a537.tar.gz
volse-hubzilla-1830ecc9baa13b7d28f6a8250832832f2cc6a537.tar.bz2
volse-hubzilla-1830ecc9baa13b7d28f6a8250832832f2cc6a537.zip
remote_self feeds are not private
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 494a54734..74ffc2f84 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1895,8 +1895,12 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
// This is my contact on another system, but it's really me.
// Turn this into a wall post.
- if($contact['remote_self'])
+ if($contact['remote_self']) {
$datarray['wall'] = 1;
+ if($contact['network'] === NETWORK_FEED) {
+ $datarray['private'] = 0;
+ }
+ }
$datarray['parent-uri'] = $item_id;
$datarray['uid'] = $importer['uid'];