aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Directory.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-23 10:36:00 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-23 10:36:00 +0100
commit41c67fa345aeddc7f44378e37c4534701540b691 (patch)
treed645db191ae7a568cd65b2652f8381a283671e6c /Zotlabs/Module/Directory.php
parentc75852455b4c4832ab91e5448c330966f1b60f2a (diff)
downloadvolse-hubzilla-41c67fa345aeddc7f44378e37c4534701540b691.tar.gz
volse-hubzilla-41c67fa345aeddc7f44378e37c4534701540b691.tar.bz2
volse-hubzilla-41c67fa345aeddc7f44378e37c4534701540b691.zip
more places to use chanlink_hash() instead of chanlink_url() for profile_link
Diffstat (limited to 'Zotlabs/Module/Directory.php')
-rw-r--r--Zotlabs/Module/Directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index 59ae88857..583154526 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -206,7 +206,7 @@ class Directory extends \Zotlabs\Web\Controller {
foreach($j['results'] as $rr) {
- $profile_link = chanlink_url($rr['url']);
+ $profile_link = chanlink_hash($rr['hash']);
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');