mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
don't included any deleted posts in the self query
This commit is contained in:
parent
da04ae7888
commit
cbaa2a9b84
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue