return the expected array
This commit is contained in:
parent
11e6530d7f
commit
c7dda0c4c1
@ -1154,11 +1154,11 @@ function is_member($s) {
|
|||||||
|
|
||||||
function get_online_status($nick) {
|
function get_online_status($nick) {
|
||||||
|
|
||||||
if(get_config('system','block_public') && ! local_user() && ! remote_user())
|
|
||||||
return;
|
|
||||||
|
|
||||||
$ret = array('result' => false);
|
$ret = array('result' => false);
|
||||||
|
|
||||||
|
if(get_config('system','block_public') && ! local_user() && ! remote_user())
|
||||||
|
return $ret;
|
||||||
|
|
||||||
$r = q("select channel_id, channel_hash from channel where channel_address = '%s' limit 1",
|
$r = q("select channel_id, channel_hash from channel where channel_address = '%s' limit 1",
|
||||||
dbesc(argv(1))
|
dbesc(argv(1))
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user