Suppress content from hidden or blocked contacts
This commit is contained in:
parent
25fbdd21c5
commit
ee7c587693
5 changed files with 8 additions and 7 deletions
|
@ -910,6 +910,7 @@ function community_add_items($parents) {
|
|||
foreach ($parents AS $parent) {
|
||||
$thread_items = dba::p(item_query()." AND `item`.`uid` = ?
|
||||
AND `item`.`parent-uri` = ?
|
||||
AND NOT `author`.`hidden` AND NOT `author`.`blocked`
|
||||
ORDER BY `item`.`commented` DESC LIMIT ".intval($max_comments + 1),
|
||||
local_user(),
|
||||
$parent['uri']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue