diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-11 14:30:07 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-11 14:30:07 -0700 |
commit | e062c4e6b54c6162d118f8657eb6f81c971f0dd8 (patch) | |
tree | 8771146852414a797b56a51e5a8f59736ab438a1 /include/deliver.php | |
parent | 05e0ed51736a2a49e36b535ef5d669e4172cf786 (diff) | |
download | volse-hubzilla-e062c4e6b54c6162d118f8657eb6f81c971f0dd8.tar.gz volse-hubzilla-e062c4e6b54c6162d118f8657eb6f81c971f0dd8.tar.bz2 volse-hubzilla-e062c4e6b54c6162d118f8657eb6f81c971f0dd8.zip |
another tactic to deal with orphan hublocs from re-installs, or at least allow the descendant channel to survive
Diffstat (limited to 'include/deliver.php')
-rw-r--r-- | include/deliver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/deliver.php b/include/deliver.php index 5ab44a620..26739fb06 100644 --- a/include/deliver.php +++ b/include/deliver.php @@ -92,12 +92,12 @@ function deliver_run($argv, $argc) { $m = json_decode($r[0]['outq_msg'],true); if(array_key_exists('message_list',$m)) { foreach($m['message_list'] as $mm) { - $msg = array('body' => json_encode(array('pickup' => array(array('notify' => $notify,'message' => $mm))))); + $msg = array('body' => json_encode(array('success' => true, 'pickup' => array(array('notify' => $notify,'message' => $mm))))); zot_import($msg,z_root()); } } else { - $msg = array('body' => json_encode(array('pickup' => array(array('notify' => $notify,'message' => $m))))); + $msg = array('body' => json_encode(array('success' => true, 'pickup' => array(array('notify' => $notify,'message' => $m))))); zot_import($msg,z_root()); } $r = q("delete from outq where outq_hash = '%s'", |