diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 16:50:08 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 16:50:08 -0700 |
commit | 34291d593845c1ec4c2d68dcc4662b020db33f32 (patch) | |
tree | 591dc6c42d2774ba2e40252dfdcffa2b0cb6f25e /include | |
parent | 642f460dcad84b8254126f316db4c0225a958958 (diff) | |
download | volse-hubzilla-34291d593845c1ec4c2d68dcc4662b020db33f32.tar.gz volse-hubzilla-34291d593845c1ec4c2d68dcc4662b020db33f32.tar.bz2 volse-hubzilla-34291d593845c1ec4c2d68dcc4662b020db33f32.zip |
add names to delivery report for sync delivery
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index eb04e421c..0b1aaa989 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3285,8 +3285,10 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { require_once('include/DReport.php'); - if(array_key_exists('item',$arr) && is_array($arr['item'][0])) + if(array_key_exists('item',$arr) && is_array($arr['item'][0])) { $DR = new DReport(z_root(),$d['hash'],$d['hash'],$arr['item'][0]['message_id'],'channel sync processed'); + $DR->addto_recipient($channel['channel_name'] . ' <' . $channel['channel_address'] . '@' . get_app()->get_hostname() . '>'); + } else $DR = new DReport(z_root(),$d['hash'],$d['hash'],'sync packet','channel sync delivered'); |