aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-07 19:15:56 -0800
committerzotlabs <mike@macgirvin.com>2018-02-07 19:15:56 -0800
commit5057a4bd4cfa34ef9821889e8b11707f495d64f0 (patch)
tree69063a694b2ea681d0cd966ae7b6ad3a8c31bbde /include
parent3a0db39fa05668831e7661ac6edaabfd09d864e2 (diff)
downloadvolse-hubzilla-5057a4bd4cfa34ef9821889e8b11707f495d64f0.tar.gz
volse-hubzilla-5057a4bd4cfa34ef9821889e8b11707f495d64f0.tar.bz2
volse-hubzilla-5057a4bd4cfa34ef9821889e8b11707f495d64f0.zip
zot6 delivery work
Diffstat (limited to 'include')
-rw-r--r--include/zot.php6
1 files changed, 3 insertions, 3 deletions
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);