aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 23:36:37 -0800
committerfriendica <info@friendica.com>2015-02-03 23:36:37 -0800
commit1ceb0a7fbab5957ae077ef4867266314c612f8ea (patch)
tree208169e57e10a2664008f7a8488c2c23dab341af
parent0357180164d9805ded2d00157d74b4b42b9d1055 (diff)
downloadvolse-hubzilla-1ceb0a7fbab5957ae077ef4867266314c612f8ea.tar.gz
volse-hubzilla-1ceb0a7fbab5957ae077ef4867266314c612f8ea.tar.bz2
volse-hubzilla-1ceb0a7fbab5957ae077ef4867266314c612f8ea.zip
hide channel address in directory from hovertip if not logged into the matrix
-rw-r--r--mod/directory.php2
1 files changed, 1 insertions, 1 deletions
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,