Merge branch 'add-delivery-status-info' into 'dev'
Add dreport_process hook See merge request hubzilla/core!1266
This commit is contained in:
commit
c74a7ce4fc
@ -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']),
|
||||
|
Reference in New Issue
Block a user