diff options
author | friendica <info@friendica.com> | 2012-06-11 21:50:10 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-11 21:50:10 -0700 |
commit | b7e2f802d8eec883276a3a7b30aa418aee1fb2a4 (patch) | |
tree | 19f5ef80333d485fc8f51ceb5b159249e3aed447 /include/items.php | |
parent | 6c1914e6bca399906622a8444e7d7dde0c2be5c5 (diff) | |
download | volse-hubzilla-b7e2f802d8eec883276a3a7b30aa418aee1fb2a4.tar.gz volse-hubzilla-b7e2f802d8eec883276a3a7b30aa418aee1fb2a4.tar.bz2 volse-hubzilla-b7e2f802d8eec883276a3a7b30aa418aee1fb2a4.zip |
revert an optimisation that was wrong
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php index 638a8212c..38bdf31c0 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. |