From 8d70b919551f6f6462e639f7cfffda9825344e43 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 17 Dec 2018 18:14:32 -0800 Subject: regression: mail from dev to core not delivering --- include/zot.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index d031b4a96..9934dae07 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1232,6 +1232,7 @@ function zot_fetch($arr) { $datatosend = json_encode(crypto_encapsulate(json_encode($data),$hub['hubloc_sitekey'], $algorithm)); $import = zot_zot($url,$datatosend); + } else { $algorithm = zot_best_algorithm($hub['site_crypto']); @@ -4913,6 +4914,7 @@ function zot_reply_pickup($data) { dbesc($data['secret']), dbesc($data['callback']) ); + if(! $r) { $ret['message'] = 'nothing to pick up'; logger('mod_zot: pickup: ' . $ret['message']); -- cgit v1.2.3