From: Aki Tuomi Date: Sun, 2 Feb 2020 18:09:03 +0000 (+0200) Subject: push-notification: Use transaction event in HTTP request X-Git-Tag: 2.3.10~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4704da55bddcee4c5ffb167a319799333c725d63;p=thirdparty%2Fdovecot%2Fcore.git push-notification: Use transaction event in HTTP request --- diff --git a/src/plugins/push-notification/push-notification-driver-ox.c b/src/plugins/push-notification/push-notification-driver-ox.c index ec540950b3..8d8e2bb0fc 100644 --- a/src/plugins/push-notification/push-notification-driver-ox.c +++ b/src/plugins/push-notification/push-notification-driver-ox.c @@ -387,7 +387,7 @@ push_notification_driver_ox_process_msg( http_req = http_client_request_url( ox_global->http_client, "PUT", dconfig->http_url, push_notification_driver_ox_http_callback, dconfig); - http_client_request_set_event(http_req, dconfig->event); + http_client_request_set_event(http_req, dtxn->ptxn->event); http_client_request_add_header(http_req, "Content-Type", "application/json; charset=utf-8");