]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
push-notification: Use transaction event in HTTP request
authorAki Tuomi <aki.tuomi@open-xchange.com>
Sun, 2 Feb 2020 18:09:03 +0000 (20:09 +0200)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Thu, 6 Feb 2020 12:18:41 +0000 (12:18 +0000)
src/plugins/push-notification/push-notification-driver-ox.c

index ec540950b38fe707dac77e8b0eb29b5032609fd2..8d8e2bb0fc23866e26132b1a80a3628a3eec52cb 100644 (file)
@@ -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");