use chanlink_url() in directory since the xchan might not yet be available on our server

This commit is contained in:
Mario Vavti 2017-02-24 10:07:14 +01:00
parent 732dfa63c7
commit cf11a89457

View File

@ -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'] . '<br />' : '');
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');