aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
committerMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
commitc69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch)
treefe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /include/zot.php
parentca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff)
parentb0689614bff4272f90b0c3f064ca91b16cb392e0 (diff)
downloadvolse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.gz
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.bz2
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php
index 580220182..d031b4a96 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1121,14 +1121,15 @@ function zot_process_response($hub, $arr, $outq) {
}
foreach($x['delivery_report'] as $xx) {
- call_hooks('dreport_process',$xx);
+ call_hooks('dreport_process',$xx);
if(is_array($xx) && array_key_exists('message_id',$xx) && DReport::is_storable($xx)) {
- q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_result, dreport_time, dreport_xchan ) values ( '%s', '%s','%s','%s','%s','%s' ) ",
+ q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_name, dreport_result, dreport_time, dreport_xchan ) values ( '%s', '%s','%s','%s','%s','%s','%s' ) ",
dbesc($xx['message_id']),
dbesc($xx['location']),
dbesc($xx['recipient']),
+ dbesc($xx['name']),
dbesc($xx['status']),
- dbesc(datetime_convert($xx['date'])),
+ dbesc(datetime_convert('UTC','UTC',$xx['date'])),
dbesc($xx['sender'])
);
}