From cbaa2a9b847bca5b7df4136d961058c7b459be98 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Mar 2015 21:06:41 -0700 Subject: don't included any deleted posts in the self query --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/network.php b/mod/network.php index 8db3bfd58..d96c6830d 100644 --- a/mod/network.php +++ b/mod/network.php @@ -324,7 +324,7 @@ function network_content(&$a, $update = 0, $load = false) { } if($conv) { - $sql_extra .= sprintf(" AND parent IN (SELECT distinct(parent) from item where ( author_xchan like '%s' or ( item_flags & %d ) > 0)) ", + $sql_extra .= sprintf(" AND parent IN (SELECT distinct(parent) from item where ( author_xchan like '%s' or ( item_flags & %d ) > 0) and item_restrict = 0 ) ", dbesc(protect_sprintf($channel['channel_hash'])), intval(ITEM_MENTIONSME) ); -- cgit v1.2.3