diff options
author | Friendika <info@friendika.com> | 2010-12-07 20:47:53 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-07 20:47:53 -0800 |
commit | a42b9ea3dea5e1490dd4aa4852760354d569ea51 (patch) | |
tree | c0a99dd7bbc6b479b040a8ef08cabee5f0f56e38 /mod/lockview.php | |
parent | e241c401cf21108f39f67e54f64f50ad139af221 (diff) | |
download | volse-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/lockview.php')
-rw-r--r-- | mod/lockview.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/lockview.php b/mod/lockview.php index b8f4318df..a886effeb 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -22,6 +22,13 @@ function lockview_content(&$a) { $deny_users = expand_acl($item['deny_cid']); $deny_groups = expand_acl($item['deny_gid']); + if(($item['private']) && (! strlen($item['allow_cid'])) && (! strlen($item['allow_gid'])) + && (! strlen($item['deny_cid'])) && (! strlen($item['deny_gid']))) { + + echo t('Remote privacy information not available.') . '<br />'; + killme(); + } + $o = t('Visible to:') . '<br />'; $l = array(); |