aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/zot.php4
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');