aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-15 18:07:58 -0800
committerzotlabs <mike@macgirvin.com>2018-11-15 18:07:58 -0800
commit5162459e4a77ccd1e4a4a68a2deae2a231947f62 (patch)
tree5a497883894ebf10f98d233209c50904bc829006 /include/zot.php
parent39d914c9dfe87021351cb2aad9feedd381e791ec (diff)
downloadvolse-hubzilla-5162459e4a77ccd1e4a4a68a2deae2a231947f62.tar.gz
volse-hubzilla-5162459e4a77ccd1e4a4a68a2deae2a231947f62.tar.bz2
volse-hubzilla-5162459e4a77ccd1e4a4a68a2deae2a231947f62.zip
delivery report issue
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 580220182..9208a6a99 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1121,12 +1121,13 @@ 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($xx['sender'])