From 5057a4bd4cfa34ef9821889e8b11707f495d64f0 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 7 Feb 2018 19:15:56 -0800 Subject: zot6 delivery work --- include/zot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/zot.php b/include/zot.php index e8ed827e2..b44991fab 100644 --- a/include/zot.php +++ b/include/zot.php @@ -5101,10 +5101,10 @@ function zot_reply_notify($data) { $zret = zot6_check_sig(); if($zret['success'] && $zret['hubloc'] && $zret['hubloc']['hubloc_guid'] === $data['sender']['guid']) { - logger('zot6_delivery'); + logger('zot6_delivery',LOGGER_DEBUG); logger('zot6_data: ' . print_r($data,true),LOGGER_DATA); - $import = [ 'pickup' => [ [ 'notify' => $data, 'message' => $data['msg'] ] ] ]; - unset($import['pickup'][0]['notify']['msg']); + $import = [ 'success' => true, 'pickup' => [ [ 'notify' => $data, 'message' => json_decode($data['msg'],true) ] ] ]; + // unset($import['pickup'][0]['notify']['msg']); logger('import: ' . print_r($import,true), LOGGER_DATA); -- cgit v1.2.3