update friends in common tool now that poco is working

This commit is contained in:
friendica
2013-01-31 17:55:52 -08:00
parent 808de7b447
commit 982034b87d
7 changed files with 28 additions and 82 deletions

View File

@@ -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