mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:35:19 +00:00
disable online presence indication until there is a viable realtime chat
This commit is contained in:
parent
df5e298628
commit
56d61ae89b
1 changed files with 6 additions and 4 deletions
|
@ -1428,10 +1428,12 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
|
|||
$gender = ((x($profile,'gender') == 1) ? t('Gender:') : False);
|
||||
$marital = ((x($profile,'marital') == 1) ? t('Status:') : False);
|
||||
$homepage = ((x($profile,'homepage') == 1) ? t('Homepage:') : False);
|
||||
$profile['online'] = (($profile['online_status'] === 'online') ? t('Online Now') : False);
|
||||
|
||||
// logger('online: ' . $profile['online']);
|
||||
// zap/osada do not have a realtime chat system at this time so don't show online state
|
||||
// $profile['online'] = (($profile['online_status'] === 'online') ? t('Online Now') : False);
|
||||
// logger('online: ' . $profile['online']);
|
||||
|
||||
$profile['online'] = false;
|
||||
|
||||
if(($profile['hidewall'] && (! local_channel()) && (! remote_channel())) || $block ) {
|
||||
$location = $reddress = $pdesc = $gender = $marital = $homepage = False;
|
||||
|
@ -1486,8 +1488,8 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
|
|||
));
|
||||
|
||||
$arr = [
|
||||
'profile' => $profile,
|
||||
'entry' => $o
|
||||
'profile' => $profile,
|
||||
'entry' => $o
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue