hide channel address in directory from hovertip if not logged into the matrix

This commit is contained in:
friendica 2015-02-03 23:36:37 -08:00
parent 0357180164
commit 1ceb0a7fba

View File

@ -252,7 +252,7 @@ function directory_content(&$a) {
'public_forum' => $rr['public_forum'], 'public_forum' => $rr['public_forum'],
'photo' => $rr['photo'], 'photo' => $rr['photo'],
'hash' => $rr['hash'], 'hash' => $rr['hash'],
'alttext' => $rr['name'] . ' ' . $rr['address'], 'alttext' => $rr['name'] . ((local_channel() || remote_channel()) ? ' ' . $rr['address'] : ''),
'name' => $rr['name'], 'name' => $rr['name'],
'details' => $pdesc . $details, 'details' => $pdesc . $details,
'profile' => $profile, 'profile' => $profile,