aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-08-30 10:07:18 +0200
committerMario <mario@mariovavti.com>2018-08-30 10:07:18 +0200
commitc74a7ce4fc089e611ea9c963e1bb1b5c82180882 (patch)
tree418c80d7bc2a6fffa01ec71e06d6589eb965a82f /include
parentd98ed6874947fd6a70dcf3fddd48b1676df01c43 (diff)
parentda441c59f6e476139dbd4bad7022eb37bd4ad1a4 (diff)
downloadvolse-hubzilla-c74a7ce4fc089e611ea9c963e1bb1b5c82180882.tar.gz
volse-hubzilla-c74a7ce4fc089e611ea9c963e1bb1b5c82180882.tar.bz2
volse-hubzilla-c74a7ce4fc089e611ea9c963e1bb1b5c82180882.zip
Merge branch 'add-delivery-status-info' into 'dev'
Add dreport_process hook See merge request hubzilla/core!1266
Diffstat (limited to 'include')
-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']),