Merge pull request #312 from git-marijus/master

dont show onlinestatus if block_public is on
This commit is contained in:
friendica 2014-02-13 10:08:20 +11:00
commit 11e6530d7f

View File

@ -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",