aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-11 05:11:53 -0700
committerfriendica <info@friendica.com>2012-05-11 05:11:53 -0700
commit20229ce18719b82b1a4d3ed2d8fd4b265cfbc57e (patch)
tree6721afe0e5869512d8e0c81d4f7c99321f7c61de /include/conversation.php
parent49cd3f615d83cbb9eac01a39b16d121cab86bc8e (diff)
downloadvolse-hubzilla-20229ce18719b82b1a4d3ed2d8fd4b265cfbc57e.tar.gz
volse-hubzilla-20229ce18719b82b1a4d3ed2d8fd4b265cfbc57e.tar.bz2
volse-hubzilla-20229ce18719b82b1a4d3ed2d8fd4b265cfbc57e.zip
better test of email reply visibility
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index e48a8e6d6..ff68462ab 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -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;