diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 16:50:55 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 16:50:55 -0700 |
commit | 02ecc9399808d94d319536c1591d1482e606d198 (patch) | |
tree | a31a5965d85b0bd180a3dbef7bba70cd00a34996 /include | |
parent | e726adc27b5b3c7349712608e4e1468154f5b788 (diff) | |
parent | 34291d593845c1ec4c2d68dcc4662b020db33f32 (diff) | |
download | volse-hubzilla-02ecc9399808d94d319536c1591d1482e606d198.tar.gz volse-hubzilla-02ecc9399808d94d319536c1591d1482e606d198.tar.bz2 volse-hubzilla-02ecc9399808d94d319536c1591d1482e606d198.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
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 7a60e2fd1..d50754638 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3324,8 +3324,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'); |