diff options
author | marijus <mario@localhost.localdomain> | 2014-02-12 23:41:08 +0100 |
---|---|---|
committer | marijus <mario@localhost.localdomain> | 2014-02-12 23:41:08 +0100 |
commit | 8e68ecc68bb84f9fa1f69ff4584982a7dc810462 (patch) | |
tree | 261764c66c48426ca28fda079fda688a44da6aa6 | |
parent | 1ca85abf83d95eb49f9b7ffbbda5f01de40388e5 (diff) | |
download | volse-hubzilla-8e68ecc68bb84f9fa1f69ff4584982a7dc810462.tar.gz volse-hubzilla-8e68ecc68bb84f9fa1f69ff4584982a7dc810462.tar.bz2 volse-hubzilla-8e68ecc68bb84f9fa1f69ff4584982a7dc810462.zip |
dont show onlinestatus if block_public is on
-rw-r--r-- | include/identity.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php index 0e01b4a0d..12eeb47ac 100644 --- a/include/identity.php +++ b/include/identity.php @@ -1154,6 +1154,9 @@ function is_member($s) { function get_online_status($nick) { + if(get_config('system','block_public') && ! local_user() && ! remote_user()) + return; + $ret = array('result' => false); $r = q("select channel_id, channel_hash from channel where channel_address = '%s' limit 1", |