From da441c59f6e476139dbd4bad7022eb37bd4ad1a4 Mon Sep 17 00:00:00 2001 From: "M.Dent" Date: Wed, 29 Aug 2018 08:58:49 -0400 Subject: Add dreport_process hook --- include/zot.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 5c79dd4fa..52102e147 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1118,6 +1118,7 @@ function zot_process_response($hub, $arr, $outq) { } foreach($x['delivery_report'] as $xx) { + call_hooks('dreport_process',$xx); if(is_array($xx) && array_key_exists('message_id',$xx) && delivery_report_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' ) ", dbesc($xx['message_id']), -- cgit v1.2.3