From: friendica Date: Tue, 12 Jun 2012 04:50:10 +0000 (-0700) Subject: revert an optimisation that was wrong X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7e2f802d8eec883276a3a7b30aa418aee1fb2a4;p=friendica.git revert an optimisation that was wrong --- diff --git a/include/items.php b/include/items.php index 638a8212c8..38bdf31c08 100755 --- a/include/items.php +++ b/include/items.php @@ -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.