more places to use chanlink_hash() instead of chanlink_url() for profile_link
This commit is contained in:
parent
c75852455b
commit
41c67fa345
@ -269,7 +269,7 @@ class Connections extends \Zotlabs\Web\Controller {
|
|||||||
'link' => z_root() . '/connedit/' . $rr['abook_id'],
|
'link' => z_root() . '/connedit/' . $rr['abook_id'],
|
||||||
'deletelink' => z_root() . '/connedit/' . intval($rr['abook_id']) . '/drop',
|
'deletelink' => z_root() . '/connedit/' . intval($rr['abook_id']) . '/drop',
|
||||||
'delete' => t('Delete'),
|
'delete' => t('Delete'),
|
||||||
'url' => chanlink_url($rr['xchan_url']),
|
'url' => chanlink_hash($rr['xchan_hash']),
|
||||||
'webbie_label' => t('Channel address'),
|
'webbie_label' => t('Channel address'),
|
||||||
'webbie' => $rr['xchan_addr'],
|
'webbie' => $rr['xchan_addr'],
|
||||||
'network_label' => t('Network'),
|
'network_label' => t('Network'),
|
||||||
|
@ -206,7 +206,7 @@ class Directory extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
foreach($j['results'] as $rr) {
|
foreach($j['results'] as $rr) {
|
||||||
|
|
||||||
$profile_link = chanlink_url($rr['url']);
|
$profile_link = chanlink_hash($rr['hash']);
|
||||||
|
|
||||||
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
|
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
|
||||||
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');
|
$connect_link = ((local_channel()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');
|
||||||
|
@ -70,7 +70,7 @@ class Viewconnections extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
foreach($r as $rr) {
|
foreach($r as $rr) {
|
||||||
|
|
||||||
$url = chanlink_url($rr['xchan_url']);
|
$url = chanlink_hash($rr['xchan_hash']);
|
||||||
if($url) {
|
if($url) {
|
||||||
$contacts[] = array(
|
$contacts[] = array(
|
||||||
'id' => $rr['abook_id'],
|
'id' => $rr['abook_id'],
|
||||||
|
Reference in New Issue
Block a user