aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-22 16:50:55 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-22 16:50:55 -0700
commit02ecc9399808d94d319536c1591d1482e606d198 (patch)
treea31a5965d85b0bd180a3dbef7bba70cd00a34996 /include
parente726adc27b5b3c7349712608e4e1468154f5b788 (diff)
parent34291d593845c1ec4c2d68dcc4662b020db33f32 (diff)
downloadvolse-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.php4
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');