diff options
Diffstat (limited to 'Zotlabs/Zot6/Zot6Handler.php')
-rw-r--r-- | Zotlabs/Zot6/Zot6Handler.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Zotlabs/Zot6/Zot6Handler.php b/Zotlabs/Zot6/Zot6Handler.php index 053901205..2ef9e3b8d 100644 --- a/Zotlabs/Zot6/Zot6Handler.php +++ b/Zotlabs/Zot6/Zot6Handler.php @@ -34,11 +34,13 @@ class Zot6Handler implements IHandler { logger('notify received from ' . $hub['hubloc_url']); - $x = Libzot::fetch($data, $hub); - $ret['delivery_report'] = $x; + $x = Libzot::fetch($data); + if ($x) { + $ret['delivery_report'] = $x; + $ret['success'] = true; + } - $ret['success'] = true; return $ret; } |