aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2018-08-29 08:58:49 -0400
committerM.Dent <dentm42@dm42.net>2018-08-29 08:58:49 -0400
commitda441c59f6e476139dbd4bad7022eb37bd4ad1a4 (patch)
tree566b7b30ce386c2f781101dfce45b47bc30d9118 /include/zot.php
parent74d80473df46f16e3d5ac840648f491588bdbd1f (diff)
downloadvolse-hubzilla-da441c59f6e476139dbd4bad7022eb37bd4ad1a4.tar.gz
volse-hubzilla-da441c59f6e476139dbd4bad7022eb37bd4ad1a4.tar.bz2
volse-hubzilla-da441c59f6e476139dbd4bad7022eb37bd4ad1a4.zip
Add dreport_process hook
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php1
1 files changed, 1 insertions, 0 deletions
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']),