]> git.mxchange.org Git - friendica.git/commitdiff
remote_self feeds are not private
authorfriendica <info@friendica.com>
Fri, 29 Jun 2012 01:52:49 +0000 (18:52 -0700)
committerfriendica <info@friendica.com>
Fri, 29 Jun 2012 01:52:49 +0000 (18:52 -0700)
include/items.php

index 494a547341336b395586d494ad6d0da3ba1ff27f..74ffc2f8400925b764d06c3145ce44b81dc799be 100755 (executable)
@@ -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'];