From cf11a89457d6953144efd71d2ca8f4bda88cfaf7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 24 Feb 2017 10:07:14 +0100 Subject: use chanlink_url() in directory since the xchan might not yet be available on our server --- Zotlabs/Module/Directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php index 583154526..59ae88857 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_hash($rr['hash']); + $profile_link = chanlink_url($rr['url']); $pdesc = (($rr['description']) ? $rr['description'] . '
' : ''); $connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : ''); -- cgit v1.2.3