From 1ceb0a7fbab5957ae077ef4867266314c612f8ea Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 3 Feb 2015 23:36:37 -0800 Subject: hide channel address in directory from hovertip if not logged into the matrix --- mod/directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/directory.php b/mod/directory.php index f19b1142e..329e255cf 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -252,7 +252,7 @@ function directory_content(&$a) { 'public_forum' => $rr['public_forum'], 'photo' => $rr['photo'], 'hash' => $rr['hash'], - 'alttext' => $rr['name'] . ' ' . $rr['address'], + 'alttext' => $rr['name'] . ((local_channel() || remote_channel()) ? ' ' . $rr['address'] : ''), 'name' => $rr['name'], 'details' => $pdesc . $details, 'profile' => $profile, -- cgit v1.2.3