From aca2e3b52ae44b5abe2681bc03351feb150e47ef Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 2 Nov 2012 15:34:35 -0700 Subject: add key passing and verification to targeted discovery --- include/zot.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index b577493b3..46400f597 100644 --- a/include/zot.php +++ b/include/zot.php @@ -75,7 +75,6 @@ function zot_notify($channel,$url) { function zot_finger($webbie,$channel) { - logger('zot_finger:' . print_r($channel,true)); if(strpos($webbie,'@') === false) { $address = $webbie; $host = get_app()->get_hostname(); @@ -105,9 +104,10 @@ function zot_finger($webbie,$channel) { if($channel) { $postvars = array( - 'address' => $address, - 'target' => $channel['channel_guid'], - 'target_sig' => $channel['channel_guid_sig'] + 'address' => $address, + 'target' => $channel['channel_guid'], + 'target_sig' => $channel['channel_guid_sig'], + 'key' => $channel['channel_pubkey'] ); $result = z_post_url($url . $rhs,$postvars); if(! $result['success']) -- cgit v1.2.3