From 982034b87d341c0bbada64b48d8488a5d2ff711c Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 31 Jan 2013 17:55:52 -0800 Subject: update friends in common tool now that poco is working --- mod/zfinger.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'mod/zfinger.php') diff --git a/mod/zfinger.php b/mod/zfinger.php index b7a89b12b..398699b20 100644 --- a/mod/zfinger.php +++ b/mod/zfinger.php @@ -126,12 +126,6 @@ function zfinger_init(&$a) { $ret['target_sig'] = $zsig; $ret['searchable'] = $searchable; -// wtf -// if(! $e['xchan_connurl']) - -// FIXME encrypt permissions when targeted so that only the target can view them, requires sending the pubkey and also checking that the target_sig is signed with that pubkey and isn't a forgery. - - logger('zot-info: ' . print_r($e,true)); $permissions = get_all_perms($e['channel_id'],(($ztarget && $zsig) ? base64url_encode(hash('whirlpool',$ztarget . $zsig,true)) @@ -143,10 +137,6 @@ function zfinger_init(&$a) { if($permissions['view_profile']) $ret['profile'] = $profile; -// if($feed && $permissions['view_stream']) -// $ret['messages'] = $zot_feed($e['channel_id'],(($ztarget && $zsig) -// ? base64url_encode(hash('whirlpool',$ztarget . $zsig,true)) -// : '' ),$mindate); // array of (verified) hubs this channel uses -- cgit v1.2.3