]> git.mxchange.org Git - friendica.git/commitdiff
revert an optimisation that was wrong
authorfriendica <info@friendica.com>
Tue, 12 Jun 2012 04:50:10 +0000 (21:50 -0700)
committerfriendica <info@friendica.com>
Tue, 12 Jun 2012 04:50:10 +0000 (21:50 -0700)
include/items.php

index 638a8212c849ce0c40f067b3f6bd1c1b11d0b43f..38bdf31c087a18c1ec9256032d50d9b7f61e568a 100755 (executable)
@@ -1853,13 +1853,12 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
                                        $datarray['last-child'] = 1;
                                }
 
-                               if($contact['network'] === NETWORK_FEED) {
-                                       if(! strlen($contact['notify'])) {
+                               if(($contact['network'] === NETWORK_FEED) || (! strlen($contact['notify']))) {
                                                // one way feed - no remote comment ability
                                                $datarray['last-child'] = 0;
-                                       }
-                                       $datarray['private'] = 1;
                                }
+                               if($contact['network'] === NETWORK_FEED)
+                                       $datarray['private'] = 1;
 
                                // This is my contact on another system, but it's really me.
                                // Turn this into a wall post.