better test of email reply visibility
This commit is contained in:
parent
49cd3f615d
commit
20229ce187
2 changed files with 3 additions and 3 deletions
|
@ -447,8 +447,8 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
else {
|
||||
|
||||
// prevent private email reply to public conversation from leaking.
|
||||
if($item['private'] && ! $threads[$threadsid]['private'])
|
||||
continue;
|
||||
if($item['network'] === NETWORK_MAIL && local_user() != $item['uid'])
|
||||
continue;
|
||||
|
||||
$comments_seen ++;
|
||||
$comment_lastcollapsed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue