From 65e18f5b8fa4da55b398b15d0a3832438d1db002 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(-) (limited to 'Zotlabs') 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