aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-07 20:47:53 -0800
committerFriendika <info@friendika.com>2010-12-07 20:47:53 -0800
commita42b9ea3dea5e1490dd4aa4852760354d569ea51 (patch)
treec0a99dd7bbc6b479b040a8ef08cabee5f0f56e38 /mod/profile.php
parente241c401cf21108f39f67e54f64f50ad139af221 (diff)
downloadvolse-hubzilla-a42b9ea3dea5e1490dd4aa4852760354d569ea51.tar.gz
volse-hubzilla-a42b9ea3dea5e1490dd4aa4852760354d569ea51.tar.bz2
volse-hubzilla-a42b9ea3dea5e1490dd4aa4852760354d569ea51.zip
display the fact that a conversation is private without disclosing the details of who can/cannot see it.
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 9bd56044e..d09e0187b 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -305,8 +305,8 @@ function profile_content(&$a, $update = 0) {
&& ($item['id'] != $item['parent']))
continue;
- $lock = (($item['uid'] == local_user()) && (strlen($item['allow_cid']) || strlen($item['allow_gid'])
- || strlen($item['deny_cid']) || strlen($item['deny_gid']))
+ $lock = ((($item['private']) || (($item['uid'] == local_user()) && (strlen($item['allow_cid']) || strlen($item['allow_gid'])
+ || strlen($item['deny_cid']) || strlen($item['deny_gid']))))
? '<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="' . t('Private Message') . '" onclick="lockview(event,' . $item['id'] . ');" /></div>'
: '<div class="wall-item-lock"></div>');